Update destination
PATCH/api/v1/purchases/:purchase_id/destinations/:id
Update an existing inbound destination for a DID number.
Updatable Fields:
callhunt- Enable/disable sequential ringingactive- Enable/disable this destination
Note: The destination address and transport protocol cannot be changed. To change these, delete and create a new destination.
Authentication:
- Requires Bearer token in Authorization header:
Authorization: Bearer <token>
Request
Responses
- 200
- 403
- 404
Successfully updates destination settings and returns updated destination
Returns 403 error when API token is incorrect
Returns 404 error when destination does not exist or belongs to another user