Unassign a phone number from Voice Agents.

post/v1/voice-agents/unassign

Request

  • Base URL
    https://api.tryhamsa.com
  • URL
    https://api.tryhamsa.com/v1/voice-agents/unassign
  • Auth
    API key in header Authorization

Request body

phoneNumberstring

Phone number to assign to voice agent, should start with + and the country code.

Example request

{
  "phoneNumber": "+9700000000"
}

Response

Successful response

successboolean
messagestring
datastring

Example response

{
  "success": true,
  "message": "Success",
  "data": "Voice agents were successfully unassigned from the phone number."
}

Changes

No recorded changes to this operation across all 2 revisions of this API.