Deletes an Agent file service tenant identity.
Operation description
Deletes an Agent file service tenant identity.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The PolarDB-X instance ID. |
pxc-xxxxxxxx |
| TenantId |
string |
Yes |
The tenant ID. |
tenant-001 |
| IdentityName |
string |
Yes |
The identity name. |
agent-runtime |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Data |
object |
The response data. |
|
| TenantId |
string |
The tenant ID. |
tenant-001 |
| IdentityName |
string |
The identity name. |
agent-runtime |
| Deleted |
boolean |
Indicates whether the identity is deleted. |
true |
| AccessDeniedDetail |
object |
The details of the access denial. |
|
| AuthAction |
string |
The authorization action. |
xxx |
| AuthPrincipalType |
string |
The type of the authorization principal. |
222 |
| AuthPrincipalOwnerId |
string |
The description is the same as above. |
111 |
| AuthPrincipalDisplayName |
string |
The display name of the authorization principal. |
xxx |
| PolicyType |
string |
The policy type. |
PRIORITY |
| NoPermissionType |
string |
The type of the no-permission error. |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The encoded diagnostic message. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Data": {
"TenantId": "tenant-001",
"IdentityName": "agent-runtime",
"Deleted": true
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.