MCP is live.Set upAsk the community
OmniDimension
Reseller clients

Release a client

End your relationship with one direct client, for good. One-way: unlike blocking, a release cannot be undone.

Reseller accounts only. Request access.

POST/reseller/clients/release
Body

The client organization to release.

curl -X POST 'https://backend.omnidim.io/api/v1/reseller/clients/release' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "organization_id": 5678
}'
Example response
{
  "success": true,
  "organization_id": 5678,
  "reverted_credits": {
    "deducted": 12.5,
    "refunded": 10
  },
  "user_ids": [
    1234
  ],
  "detached_numbers": {
    "91": {
      "agent_id": 412,
      "sms_enabled": false
    }
  },
  "transferred_numbers": [
    91
  ]
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Request Body

application/json
organization_id*integer

The client organization to release.

Response body

application/json

Response Body

The client was released.

application/json
success?boolean
organization_id?integer
reverted_credits?

The balance returned to you, or {} when the client had nothing to return.

user_ids?array<integer>

The client users whose logins were retired.

detached_numbers?

Numbers detached from their agents, keyed by number id.

transferred_numbers?array<integer>

Numbers that transferred back to you.