Updated on 2025-08-22 GMT+08:00

Unmanaging an Account

Function

This API is used to cancel the RGC management of an organization account.

URI

POST https://{endpoint}/v1/managed-organization/managed-accounts/{managed_account_id}/un-enroll

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

managed_account_id

Yes

String

ID of an enrolled account.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

operation_id

String

Operation ID for creating an account, enrolling an account, or registering an OU.

Status code: 403

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

request_id

String

Unique ID of the request.

encoded_authorization_message

String

Encrypted error message.

details

Array of ForbiddenErrorDetail objects

Error message indicating no permissions for cross-service invoking.

Table 4 ForbiddenErrorDetail

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

Canceling the RGC management of an organization account

POST https://{endpoint}/v1/managed-organization/managed-accounts/{managed_account_id}/un-enroll

Example Responses

Status code: 200

Request succeeded.

{
  "operation_id" : "string"
}

Status Codes

Status Code

Description

200

Request succeeded.

403

No permissions.

Error Codes

See Error Codes.