Retrieve an action's secret
/actions/{actionId}/secretUse this after an action with secretAvailable true succeeds: a provision or reinstall that set a password, or a password reset with delivery api. Owner tokens only, and only the token that started the action (for a provision, the token that placed the order). You may read it up to 5 times until it expires (60 minutes after the action succeeded), so a retry after a lost answer works; every read is audited. Store it, then delete it with deleteActionSecret. A 410 is final. Needs services:destructive, or orders:write for a provision action.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
services:destructiveororders:write- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
actionIdstring (uuid)RequiredThe action's id.
Clouduxe-VersionstringOptionalThe 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}$
200OK The secret.
objectstringRequiredThe object's type. Always "action_secret".
actionIdstring (uuid)RequiredThe action's id.
kindstringRequiredWhat the secret is: a server password.
One ofserver_passwordusernamestringRequiredThe account the password is for: root, or Administrator on Windows.
One ofrootAdministratorpasswordstringRequiredThe password. Store it in your own secret store, then delete it here with deleteActionSecret.
readsLeftintegerRequiredHow many more reads are allowed after this one, 0 to 4.
min 0, max 4expiresAtstring (date-time)RequiredWhen the secret is deleted, read or not.
Every response
- 200OKThe secret.
- 400Bad requestThe request is not valid. Codes: version_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.
- 410GoneGone. Codes: secret_unavailable.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.