POST
/
v1
/
numbers
/
cancel
curl --request POST \
  --url https://api.fluents.ai/v1/numbers/cancel \
  --header 'Authorization: Bearer <token>'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "user_id": "550e8400-e29b-41d4-a716-446655440000",
  "number": "+1234567890",
  "active": true,
  "label": "My Phone Number",
  "inbound_agent_name": "Agent Name",
  "outbound_only": false,
  "example_context": {},
  "telephony_provider": "twilio",
  "description": "Business line for customer service",
  "inbound_agent": "agent_123",
  "telephony_account_connection": "550e8400-e29b-41d4-a716-446655440000"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

phone_number
string
required

Response

201
application/json

The response is of type object.