Phone numbers
Detach phone number
Detach a phone number from its associated agent.
POST/phone_number/detach
Bearersession
Body
ID of the phone number to detach.
curl -X POST 'https://backend.omnidim.io/api/v1/phone_number/detach' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "phone_number_id": 23 }'
Example response
{ "phone_number_id": 23, "message": "Phone Number +15551234567 Detached Successfully." }
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
phone_number_id*integer
ID of the phone number to detach.
Response Body
application/json
