Update the call forwarding targets of a number
Update the call forwarding targets of a number
Path Parameters
id string required
The ID of the number to update the call forwarding targets for
application/json
Request Body required
- Array [
- ]
enabled boolean
Whether the call forwarding is enabled, only can be disabled if ivr is set up
targets object[]
The call forwarding targets, either a user or a phone number
oneOf
MOD1
MOD2
user string
enabled boolean
e164 string
enabled boolean
Responses
- 204
- 400
- 401
- 403
- 404
- 409
Successfully updated the call forwarding targets
Invalid request body
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors object[]
code string
Human readable error code
message string
Human readable error message
detail string
Human readable error detail
{
"errors": [
{
"code": "ERROR_CODE",
"message": "An error occurred while calling the endpoint",
"detail": "View more info at developers.rinkel.com"
}
]
}
Unauthorized
Forbidden
The number was not found
Call forwarding can't be disabled if the voice menu is not set up.
Loading...