phones
Release a phone
Changed onDeallocates a phone the caller's org currently holds. The session is billed and the phone is torn down asynchronously. Pass session_id to end that session only: if the phone has already moved on to another session, nothing is released and the call still succeeds.
post/phones/{phone_id}:deallocate
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
phone_idstring required
phone identifier to deallocate
Request body
Example request
{
"$schema": "/api/v1/PhoneDeallocateRequest.json"
}Response
OK
Example response
{
"$schema": "/api/v1/PhoneDeallocateResponse.json"
}Changes
- breaking
removed the required property
from the response with the status - info
added the optional property
to the response with the status
- breaking
- info
added optional request body
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info