ModifyOutboundCallNumber
Modifies an outbound call number. This operation is deprecated.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
8fa1953f-4a84-46d8-b80c-8ce9cf684fb3 |
| Number |
string |
Yes |
The number to modify. |
10088xxx |
| RateLimitPeriod |
integer |
Yes |
The rate limit period. Unit: seconds. |
100 |
| RateLimitCount |
integer |
Yes |
The number of rate limit rules. |
10 |
| OutboundCallNumberId |
string |
Yes |
The number ID. |
fa0e21e9-caab-4629-9121-1e341243d599 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The API status code. |
OK |
| Message |
string |
The response message. |
Success |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| OutboundCallNumber |
object |
The number information. |
|
| Number |
string |
The outbound call number. |
10088xxxx |
| OutboundCallNumberId |
string |
The number ID. |
fa0e21e9-caab-4629-9121-1e341243d599 |
| RateLimitCount |
string |
The rate limit cycle. |
10 |
| RateLimitPeriod |
string |
The rate limit count. |
100 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"OutboundCallNumber": {
"Number": "10088xxxx",
"OutboundCallNumberId": "fa0e21e9-caab-4629-9121-1e341243d599",
"RateLimitCount": "10",
"RateLimitPeriod": "100"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | NotExist.Instance | The specified Instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.