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.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

href

Name Type Description

href

string

Name Type Description

self

href

owner

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

Name Type Description

_links

_links

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.

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.

Name Type Description

next

href

self

href

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.