AI ready
Open in Claude (opens in a new tab)View as Markdown

API tokens

Tokens: list and revoke. Tokens are made in the panel, at /account/api-tokens.

Base URL https://api.clouduxe.com/v1Updated 5 November 2026

Operations

The ApiToken object

An API token. The token itself is shown only once, in the panel, when it is created; it is never returned by the API.

Attributes

  • objectstringRequired

    The object's type. Always "api_token".

  • idstring (uuid)Required

    The token's id.

  • namestringRequired

    The token's name.

  • prefixstringRequired

    The token's prefix: cxk_live_.

    One ofcxk_live_
  • lastFourstringRequired

    The token's last four characters, to tell tokens apart.

  • scopesarray of stringRequired

    What the token may do.

  • apiVersionstringRequired

    The API version used when a request sends no Clouduxe-Version header.

  • ipAllowlistarray of stringRequired

    Addresses or CIDR ranges the token may be used from. Empty means any address.

  • createdByobjectRequired

    Who made it.

    Show 2 child attributesHide 2 child attributes
    • personIdstring (uuid)Required

      The person's id.

    • namestring or nullRequired

      Their name, or null.

  • createdAtstring (date-time)Required

    When it was made.

  • expiresAtstring (date-time) or nullRequired

    When it expires, or null for never. A token holding any elevated scope (marked elevated at https://docs.clouduxe.com/api/authentication#scopes) always expires, at most 365 days after creation.

  • lastUsedAtstring (date-time) or nullRequired

    When it was last used (updated at most once a minute), or null.

  • lastUsedIpstring or nullRequired

    The address it was last used from, or null.

  • revokedAtstring (date-time) or nullRequired

    When it was revoked, or null.

  • revokedReasonstring or nullRequired

    Why: user, leaked (reported by secret scanning), member_removed, person_disabled, account_closed or expired.

    One ofuserleakedmember_removedperson_disabledaccount_closedexpired
  • livemodebooleanRequired

    True for objects of your live account.

The ApiToken object
{
  "object": "api_token",
  "id": "0b7f3c2a-9e4d-4f1a-8c6b-5d2e7a9f1c3b",
  "name": "whmcs-production",
  "prefix": "cxk_live_",
  "lastFour": "Q7x2",
  "scopes": [
    "services:read",
    "services:write",
    "services:lifecycle",
    "services:destructive",
    "orders:read",
    "orders:write",
    "billing:read",
    "ssh_keys:read",
    "ssh_keys:write",
    "webhooks:read"
  ],
  "apiVersion": "2026-12-01",
  "ipAllowlist": [
    "203.0.113.0/24"
  ],
  "createdBy": {
    "personId": "8d1e4b6a-2c3f-4a5b-9d7e-1f0a2b3c4d5e",
    "name": "Asha Rao"
  },
  "createdAt": "2026-12-01T08:15:12Z",
  "expiresAt": "2027-12-01T08:15:12Z",
  "lastUsedAt": "2026-12-04T10:02:41Z",
  "lastUsedIp": "203.0.113.9",
  "revokedAt": null,
  "revokedReason": null,
  "livemode": true
}

Generated from the API contract, version 2026-12-01.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.