Inbound Destinations
Update destination
Update an existing inbound destination for a DID number.
Updatable Fields:
- dialing_type - Dialing mode: sequence, ring_all or random
- callhunt - Legacy two-state mirror of dialing_type; ignored when dialing_type is sent
- active - Enable/disable this destination
Note: The destination address and transport protocol cannot be changed. To change these, delete and create a new destination.
patch/api/v1/purchases/{purchase_id}/destinations/{id}
Request
- Base URL: https://app.didlogic.com
- URL: https://app.didlogic.com/api/v1/purchases/{purchase_id}/destinations/{id}
- Auth: HTTP bearer
Path parameters
purchase_idstring required
Example:43800327987
Purchased number id or number from numbers_index, purchases_index: the phone number (e.g. 43800327987) or the numeric inventory id (e.g. 21869). Both resolve the same DID.
idinteger required
Destination id from purchases_destinations_index, purchases_destinations_create
Request body
Example request
{
"destination": {
"callhunt": true
}
}Response
Successfully updates destination settings and returns updated destination
Example response
{
"did_destination": {
"id": 28,
"transport": 1,
"destination": "sip:test@example.com",
"priority": 1,
"callhunt": true,
"dialing_type": "ring_all"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.