Skip to main content

ReorderMOHClassSounds reorders sounds in a MOH class.

PUT 

/api/v1/voice/moh-classes/:mohClassId/sounds/reorder

Sets the playback order for sounds in the class.

Parameters

  • moh_class_id: Required, class to reorder
  • sound_ids: Required, sound IDs in new order

Errors

  • NOT_FOUND: Class does not exist
  • INVALID_ARGUMENT: Sound IDs don't match class sounds
  • PERMISSION_DENIED: Caller lacks voice:moh_class:write permission

Request

Responses

A successful response.