DeleteOncallSchedules
Deletes an on-call schedule.
Operation description
Creates an on-call schedule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteOncallSchedules |
delete |
*OncallSchedule
|
None | None |
Request syntax
DELETE /oncallSchedule HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| oncallScheduleIds |
array |
No |
The IDs of the on-call schedules. |
|
|
string |
No |
The IDs of the on-call schedules. |
testId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
| deletedCount |
integer |
The actual number of deleted records. |
0 |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"deletedCount": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The parameter is missing or invalid. %s | |
| 400 | InvalidParameterValue | Invalid request: %s | |
| 500 | InternalUnknownError | The request processing has failed due to some unknown error. | A service runtime error occurred. |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.