Update the per-number Music on Hold setting
PUT/numbers/:id/dial-plan/v1/music-on-hold
Configures the Music on Hold played on the number for both queue waits
and mid-call holds. Replaces the deprecated musicOnHoldId field on
PUT /numbers/{id}/dial-plan/v1/forwarding/queue.
Music on hold is not included in the free plan: without it the request
is rejected with 403.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Successfully updated the music on hold setting
Invalid request body
Unauthorized
Forbidden. Usually without a body. When the client has to act on it, the body carries an errors[].code, such as MFA_SETUP_REQUIRED.
The number was not found