Skip to main content
REST API reference

Delete a group-to-role mapping entry

DELETE /security/group/role-mappings/{group_id}/{ontap_role.name}

Introduced In: 9.16

Deletes a group to role mapping entry.

  • security login group role-mapping delete

Parameters

Name Type In Required Description

group_id

integer

path

True

Group ID.

  • format: int64

  • Max value: 4294967295

  • Min value: 1

ontap_role.name

string

path

True

Role name.

Response

Status: 200, Ok

Error

Status: Default, Error
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

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.