Last Updated on : 2023-10-09 08:08:38download
Based on the permission ID, query the details of the specified permission.
GET: /v2.0/cloud/iam/permission/{permission_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| permission_id | Long | uri | true | The ID of the specified permission. |
| Parameter name | Type | Description |
|---|---|---|
| success | Boolean | Indicates whether the operation is successful. Valid values:
|
| error_code | String | The error code. For more information, see the error codes. |
| error_msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
| result | PermissionInfoRes | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| permission_id | Long | The ID of the specified permission. |
| name | String | The name of the specified permission. |
| description | String | The description of the specified permission. |
| gmt_create | Long | The creation time. |
GET: /v2.0/cloud/iam/permission/1
{
"tid": "f25f58860b5111ee8144726abb6617ad",
"result": {
"gmt_create": 1686798666,
"description": "desc",
"permission_id": 5002,
"name": "name"
},
"t": 1686815708201,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback