Update an existing internal number
This action will update an existing internal number matching the given id.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/internal_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 internal number |
String | null |
name The name for the number |
String | null |
destination_type |
null | |
destination_id |
null | |
caller_id_prefix The prefix to add on calls from this number |
String | null |
caller_id_passthrough Whether or not caller IDs should pass through when unanswered |
Boolean | null |
Errors
Error | Attributes |
---|---|
InternalNumberNotFound No internal number was found given the ID provided |
|
NoAccessToInternalNumber Your authenticated identity is not permitted to access this internal number |
|
ValidationError A validation error occurred |
|
Response Data
This action will return a internal number structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.