Replace permissions
Grant permission
Grants a permission for a sub-account to access a resource owned by the main account.
query Parameters
skip_target_checkIf true, skips the check whether the target resource exists. Default is false.
Grant permission › Request Body
Permission document defining access rights for a sub-account to a specific resource.
Grant permission › Responses
The granted permission.
Permission document defining access rights for a sub-account to a specific resource.
Revoke permission
Revokes a permission for a sub-account to access a resource owned by the main account.
Revoke permission › Request Body
Permission document defining access rights for a sub-account to a specific resource.
Revoke permission › Responses
Permission successfully revoked. No content in response body.
Revoke all permissions by target
Revokes all permissions for sub-accounts to access a specific resource owned by the main account.
path Parameters
target_typeThe type of the target resource (e.g., "server", "storage").
target_identifierThe identifier of the target resource.
query Parameters
main_account_idIf specified, revokes permissions for resources owned by the specified main account ID. Default is the current main account.
Revoke all permissions by target › Responses
All permissions for the specified target successfully revoked. No content in response body.
Revoke all permissions by user
Revokes all permissions for a specific sub-account to access any resources owned by the main account.
path Parameters
userThe username of the sub-account.
Revoke all permissions by user › Responses
All permissions for the specified user successfully revoked. No content in response body.