Skip to main content

Create a multi-admin-verify approval group

Contributors

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.

  • Default value:

Request Body

Name Type Description

approvers

array[string]

List of users that can approve a request.

email

array[string]

Email addresses that are notified when a request is created, approved, vetoed, or executed.

name

string

Name of the approval group.

owner

owner

The owner of the approval group. The only valid owner is currently the cluster.

Example request
{
  "approvers": [
    "string"
  ],
  "email": [
    "string"
  ],
  "name": "string",
  "owner": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "name": "svm1",
    "uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
  }
}

Response

Status: 201, Created
Name Type Description

_links

_links

num_records

integer

Number of records

records

array[multi_admin_verify_approval_group]

Example response
{
  "_links": {
    "next": {
      "href": "/api/resourcelink"
    },
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "num_records": 1,
  "records": [
    {
      "approvers": [
        "string"
      ],
      "email": [
        "string"
      ],
      "name": "string",
      "owner": {
        "_links": {
          "self": {
            "href": "/api/resourcelink"
          }
        },
        "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.