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

Delete an action's secret

DEL/actions/{actionId}/secret

Use this as soon as you have stored the secret from getActionSecret, so it can never be read again. Deleting a secret that is already gone answers the same.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
services:destructive or orders:write
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • actionIdstring (uuid)Required

    The action's id.

  • Clouduxe-VersionstringOptional

    The API version to use, such as 2026-12-01. Omit it to use your token's version.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
  • Idempotency-KeystringRequired

    A unique key for this logical request, 1 to 128 characters of letters, digits, underscore, dot, colon or hyphen; a UUID is best. Retrying with the same key is safe: the change happens once and the retry gets the same answer. Keys are kept 48 hours.

    pattern ^[A-Za-z0-9_.:-]{1,128}$

Returns

200OK The action, with secretAvailable false.

  • objectstringRequired

    The object's type. Always "action".

  • idstring (uuid)Required

    The action's id.

  • typestringRequired

    What the action does.

    One ofbootshutdownrestartpoweroffreinstallreset_passwordplan_changeterminateprovision
  • statusstringRequired

    queued (recorded, not started; provisioning of a dedicated server or a proxy can stay here for hours while staff set it up), running (sent; waiting for the server to show the result), succeeded, failed, or unknown (the platform's answer was lost and the result was not confirmed in time; check the service). succeeded, failed and unknown are final and never change.

    One ofqueuedrunningsucceededfailedunknown
  • serviceIdstring (uuid) or nullRequired

    The service the action acts on. Null for a provision action until its service exists.

  • orderIdstring (uuid) or nullRequired

    The order a provision action belongs to, or null.

  • invoiceIdstring (uuid) or nullRequired

    The invoice a plan change created, or null.

  • failureobject or nullRequired

    Set when status is failed; otherwise null.

    Show 2 child attributesHide 2 child attributes
    • codestringRequired

      platform_refused, platform_unavailable, provisioning_failed (staff are notified and will contact you), order_rejected (the order failed review; its payment returns to wallet credit), order_cancelled or service_locked.

      One ofplatform_refusedplatform_unavailableprovisioning_failedorder_rejectedorder_cancelledservice_locked
    • messagestringRequired

      A sentence for a person.

  • secretAvailablebooleanRequired

    True while a secret this action set (a root or Administrator password) can be read with getActionSecret. Only the account owner's tokens can read it. It turns false when you delete it, after 5 reads, or when it expires.

  • secretExpiresAtstring (date-time) or nullRequired

    When the secret is deleted unread or not (60 minutes after the action succeeded), or null when there is none.

  • createdAtstring (date-time)Required

    When the action was requested.

  • startedAtstring (date-time) or nullRequired

    When it was sent to the platform, or null while queued.

  • completedAtstring (date-time) or nullRequired

    When it reached a final status, or null.

  • livemodebooleanRequired

    True for objects of your live account.

Every response

  • 200OKThe action, with secretAvailable false.
  • 400Bad requestThe request is not valid. Codes: version_invalid, idempotency_key_required, idempotency_key_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
  • 404Not foundNot found. Codes: not_found.
  • 409ConflictThe request conflicts with the object's current state. Codes: idempotency_in_progress.
  • 422UnprocessableThe request is well formed but cannot be carried out. Codes: idempotency_mismatch.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: unavailable, outcome_unknown, limits_unavailable.

Updated 5 November 2026. Generated from the API contract.

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.