All Products
Search
Document Center

Drive and Photo Service:CancelAssignRole

Last Updated:May 27, 2026

Currently, this operation only revokes the team administrator role.

Operation description

Currently, this operation only revokes the team administrator role.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/role/cancel_assign HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

domain_id

string

No

A short description of the struct.

body

object

No

identity Identity

Yes

The identity whose role is to be revoked. Currently, this must be a user.

role_id

string

Yes

The ID of the role to revoke. This must be set to SystemGroupAdmin (team administrator).

SystemGroupAdmin

manage_resource_type

string

Yes

The resource type of the managed resource. This must be set to RT_Group (team).

RT_Group

manage_resource_id

string

Yes

The ID of the managed resource. This must be a Group ID.

105***b82

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.