Closes a ticket.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TicketId |
string |
Yes |
The ticket ID. |
G2BKRWG |
| Uid |
string |
No |
The user UID. You can find your UID by clicking the profile picture in the upper-right corner of the DMS console. |
1139477549527134 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
Details about the permission error. An empty string is returned if you have the required permissions. |
{\"AuthAction\":\"ram:CloseTicket\",\"AuthPrincipalDisplayName\":\"2146216584788xxxxx\",\"AuthPrincipalOwnerId\":\"1135850448xxxxx\",\"AuthPrincipalType\":\"SubUser\",\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\"} |
| Code |
integer |
The return code of the request. |
200 |
| Message |
string |
The error message. The message is returned if `Success` is `false`. |
success |
| RequestId |
string |
The unique request ID. |
CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC |
| Success |
boolean |
Indicates whether the call was successful. A value of `true` indicates a successful call. |
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "{\\\"AuthAction\\\":\\\"ram:CloseTicket\\\",\\\"AuthPrincipalDisplayName\\\":\\\"2146216584788xxxxx\\\",\\\"AuthPrincipalOwnerId\\\":\\\"1135850448xxxxx\\\",\\\"AuthPrincipalType\\\":\\\"SubUser\\\",\\\"NoPermissionType\\\":\\\"ImplicitDeny\\\",\\\"PolicyType\\\":\\\"AccountLevelIdentityBasedPolicy\\\"}",
"Code": 200,
"Message": "success",
"RequestId": "CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | param.illegal | Params illegal. | |
| 401 | illegal.auth | You are not authorized to perform the operation. | You are not authorized to perform this operation. |
| 500 | System.error | An error occurred while processing your request. | An error occurred while processing your request. Please try again. |
| 403 | No permissions | No permissions to access. | RAM authentication does not have permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.