Update number properties
This action will update a number's properties
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/numbers/update
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied
error will be returned.
Parameters
Parameter | Type | Default |
---|---|---|
id Required The ID of the number |
Integer | null |
name The name for the number |
String | null |
destination_type The type of destination |
String | null |
destination_id The ID of the destintion |
Integer | null |
caller_id_prefix The caller ID prefix |
String | null |
recording_enabled Whether or not recording is enabled |
Bool | null |
Errors
Error | Attributes |
---|---|
NumberNotFound No number was found given the ID provided |
|
NoAccessToNumber Your authenticated identity is not permitted to access this number |
|
ValidationError A validation error occurred |
|
Response Data
This action will return a number structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.