Skip to main content

Delete Role(s)

POST 

/roles/bulk-delete

This API initiates a bulk deletion of one or more Roles.

A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Roles included in the request are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.

Request

Body

required
    roleIds string[]required

    List of IDs of Roles to be deleted.

Responses

Returns an object with the id of the task performing the delete operation.

Schema
    type string

    Possible values: [TASK_RESULT]

    Task result DTO type.

    id string

    Task result ID.

    name stringnullable

    Task result display name.

Loading...