ResoneraDocs
Phone numbers

Remove a number's agent

DELETE
/phone-numbers/{number_id}/agent

Removes the agent assigned to the number.

Requires the agents:write scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

number_id*string

The number's id, from GET /phone-numbers.

Formatuuid

Response Body

Unassigned.

application/json
curl -X DELETE "https://example.com/phone-numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent"
{  "message": "Agent unassigned",  "number": "+912268096161"}