Create a multi-admin-verify approval group
POST /security/multi-admin-verify/approval-groups
Introduced In: 9.11
Creates a multi-admin-verify approval group.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
return_records |
boolean |
query |
False |
The default is false. If set to true, the records are returned.
|
Request Body
| Name | Type | Description |
|---|---|---|
approvers |
array[string] |
List of users that can approve a request. |
array[string] |
Email addresses that are notified when a request is created, approved, vetoed, or executed. |
|
name |
string |
Name of the approval group. |
owner |
The owner of the approval group. The only valid owner is currently the cluster. |
Example request
{
"approvers": [
"string"
],
"email": [
"string"
],
"name": "string",
"owner": {
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
}
}
Response
Status: 201, Created
| Name | Type | Description |
|---|---|---|
num_records |
integer |
Number of records |
records |
Example response
{
"num_records": 1,
"records": [
{
"approvers": [
"string"
],
"email": [
"string"
],
"name": "string",
"owner": {
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
}
}
]
}
Headers
| Name | Description | Type |
|---|---|---|
Location |
Useful for tracking the resource location |
string |
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
262309 |
The feature must be enabled first. |
262333 |
Invalid user in approval group. |
Also see the table of common errors in the Response body overview section of this documentation.
Definitions
See Definitions
href
| Name | Type | Description |
|---|---|---|
href |
string |
_links
owner
The owner of the approval group. The only valid owner is currently the cluster.
| Name | Type | Description |
|---|---|---|
name |
string |
The name of the SVM. This field cannot be specified in a POST or PATCH method. |
uuid |
string |
The unique identifier of the SVM. This field cannot be specified in a PATCH method. |
multi_admin_verify_approval_group
| Name | Type | Description |
|---|---|---|
approvers |
array[string] |
List of users that can approve a request. |
array[string] |
Email addresses that are notified when a request is created, approved, vetoed, or executed. |
|
name |
string |
Name of the approval group. |
owner |
The owner of the approval group. The only valid owner is currently the cluster. |
error_arguments
| Name | Type | Description |
|---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
| Name | Type | Description |
|---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |