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 URLhttps://api.axilio.ai/api/v1
- 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
Response
OK
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