CrushMFT Documentation

App Gateway#

The apps, their settings, the identity provider, who is given which app, the live app sessions, the audit and the App access report: App Gateway. Each operation needs the same permission as its screen in Preferences. A client secret is answered once, by gateway.apps.secret, and no other answer holds a secret. The caller's own apps are GET /me/apps (The caller's own account).

From openapi.json: CrushMFT API, version v1, build 27.0.0_2307.

Web apps reached only through CrushMFT (design/86): the apps, the sign-in and portal settings, the signed assertion, the OpenID Connect provider and SAML identity provider for the apps, live app sessions, the audit, the App access report and which apps each user is given.

GET /WebInterface/api/v1/gateway #

The App Gateway (design/86): its apps with their state, upstreams and last test, the sign-in and portal settings, the certificate store's entries with a key, and whether the license has it.

  • Operation: gateway.get
  • Credentials: token or basic or session
  • Permission: gateway.app.view
  • Tier: 2
  • Legacy: gatewayOverview
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/stats #

The dashboard's figures: apps up and down, live app sessions, requests a minute and upstream errors in the last hour, per app.

  • Operation: gateway.stats.get
  • Credentials: token or basic or session
  • Permission: gateway.app.view
  • Tier: 2
  • Legacy: gatewayStats
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

PUT /WebInterface/api/v1/gateway/apps/{id} #

Make an app, or change one: the fields given are taken over the stored ones. The checks of the editor apply, and rule G7: an upstream that is loopback, link-local, a metadata address or this server only for a full administrator. 201 when it was made.

  • Operation: gateway.apps.save
  • Credentials: basic or session
  • Permission: gateway.app.edit
  • Tier: 0
  • Legacy: gatewayAppSave
  • Token: never
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The app's id: 1 to 40 lower case letters, digits or dashes. It never changes.

Request body (required): application/json

Field Type Required Description
name string The name; needed for a new app.
hosts any Host names: a list, or one a line.
upstreams any Inside addresses: a list, or one a line.
proxy boolean false: the app has no entrance and only signs in here (OpenID Connect or SAML). Default true.
enabled boolean Off: the host answers "This app is not available". Default true.
description string The line under the name on the portal's tile.
icon string An icon name of the kit, such as book.
category string Groups the tiles on the portal.
show_on_portal boolean Off: the app has no tile.
home_url string For an app without an entrance: the address its tile opens.
ports any Listener port numbers that answer for the app; empty: every HTTP and HTTPS port.
scheme string, one of https, http How the portal and the hand-off address the app.
public_port string The public port when it is not the scheme's own.
balance string, one of order, least With more than one upstream: the first that is up, or the one with the fewest requests in flight.
health_path string The path a health check asks for; empty for none.
health_seconds integer Seconds between health checks (5 or more).
tls_verify string, one of verify, pin TLS to the upstream: the trusted authorities and the host name, or pin what it shows first.
client_cert string A certificate store entry (name, or name/alias) shown to the upstream.
host_header string, one of entrance, upstream The Host field sent upstream.
max_body_mb integer The largest request body in MB; 0 for no limit.
methods string HTTP methods allowed, comma separated; empty: all.
connect_seconds integer Seconds to connect to the upstream (5).
idle_seconds integer Seconds to wait for the upstream's next byte (300).
websockets boolean WebSockets through the app.
networks any Addresses or networks (CIDR) the user must come from; empty: any.
days string Days the app is open: digits 1 (Sunday) to 7; empty: every day.
hours string Hours of the day the app is open, comma separated; empty: every hour.
second_factor boolean The user's authenticator code, once per CrushMFT session, before the app opens.
reauth_minutes integer Sign in again when the CrushMFT sign-in is older than this; 0 for never.
headers_mode boolean Tell the app who the user is in header fields.
header_fields string The fields: user, user_id, email, name, groups, roles, comma separated.
header_prefix string The fields' prefix (X-CrushMFT-).
assertion boolean Send the signed assertion (X-CrushMFT-Assertion).
idle_minutes integer The app session's idle limit in minutes; 0 keeps the user's own.
absolute_minutes integer The app session's longest life in minutes; 0 keeps the user's own.
signout_url string The app's own sign-out address (kept; not used yet).
rewrite_cookies boolean Drop a cookie Domain that names the inside host.
log_level string, one of errors, all, off Lines in the server log for the app's requests.
oidc boolean The app signs its users in with the OpenID Connect provider.
oidc_public boolean A public client: no secret, PKCE required.
oidc_redirect_uris any Redirect addresses, exact; https, or http for localhost.
oidc_post_logout_uris any Addresses after sign-out.
oidc_backchannel_uri string Where a back-channel logout token is posted.
oidc_scopes string Scopes it may get: profile, email, groups, roles.
oidc_minutes integer The life of its tokens in minutes (60).
oidc_jwks string The client's public keys (a JWKS) for private_key_jwt.
saml boolean The app signs its users in with the SAML identity provider.
saml_entity_id string Its entity id.
saml_acs any Its assertion consumer addresses, exact; the first is the default.
saml_slo string Its single logout address (HTTP-Redirect).
saml_name_id string, one of persistent, email, unspecified The NameID: the user id, the email address, or the user name.
saml_attributes any field=Name, one a line (fields: user, user_id, email, name, first_name, last_name, groups, roles).
saml_sp_cert string Its signing certificate in PEM; with one, its requests must be signed.
saml_sign_response boolean Sign the whole Response too.
saml_idp_initiated boolean The portal's tile signs in from here.
saml_encrypt string, one of off, aes256-gcm, aes256-cbc Encrypt the assertion for the app: AES-256-GCM (RSA-OAEP, SHA-256) or AES-256-CBC (RSA-OAEP-MGF1P).
saml_sp_enc_cert string The app's encryption certificate (PEM, RSA).

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

DELETE /WebInterface/api/v1/gateway/apps/{id} #

Delete an app and end its sessions.

  • Operation: gateway.apps.delete
  • Credentials: basic or session
  • Permission: gateway.app.edit
  • Tier: 0
  • Legacy: gatewayAppDelete
  • Token: never
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The app.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/gateway/apps/{id}/test #

Test a saved app from every server: each must reach each upstream (status, time, TLS, certificate), and each DMZ must not.

  • Operation: gateway.apps.test
  • Credentials: token or basic or session
  • Permission: gateway.app.view
  • Tier: 2
  • Legacy: gatewayAppTest
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The app.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/gateway/apps/{id}/oidc-secret #

A new OpenID Connect client secret for the app, in this reply only; the old one stops working at once.

  • Operation: gateway.apps.secret
  • Credentials: basic or session
  • Permission: gateway.identity.edit
  • Tier: 0
  • Legacy: gatewayOidcSecret
  • Token: never
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The app (OpenID Connect on).

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

PUT /WebInterface/api/v1/gateway/apps/{id}/basic-login #

The service account the app is signed in to with Authorization: Basic; an empty user removes it. The password is kept sealed and never answered.

  • Operation: gateway.apps.basic-login.set
  • Credentials: basic or session
  • Permission: gateway.identity.edit
  • Tier: 0
  • Legacy: gatewayBasicSave
  • Token: never
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The app.

Request body (required): application/json

Field Type Required Description
user string yes The service account; empty removes the Basic login. No colon.
password string Its password; empty keeps the one that is set.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

PATCH /WebInterface/api/v1/gateway/settings #

The sign-in address and the connections one browser's app session may hold; fields left out keep their values.

  • Operation: gateway.settings.set
  • Credentials: basic or session
  • Permission: gateway.app.edit
  • Tier: 0
  • Legacy: gatewaySettingsSave
  • Token: never
  • Read only: no

Request body (required): application/json

Field Type Required Description
login_url string Where apps send people to sign in: http or https and the host, with no path.
max_connections_per_session integer The connections one browser's app session may hold.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

PATCH /WebInterface/api/v1/gateway/portal #

The portal's title, text and Files tile; fields left out keep their values.

  • Operation: gateway.portal.set
  • Credentials: token or basic or session
  • Permission: gateway.portal.edit
  • Tier: 2
  • Legacy: gatewayPortalSave
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
title string The portal's title, at most 80 characters.
text string The text above the tiles, at most 2000 characters.
files_tile boolean A Files tile for users who have files.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/identity #

The identity settings: the assertion's issuer and signing keys, the OpenID Connect provider and its clients, the SAML identity provider, its certificate and service providers.

  • Operation: gateway.identity.get
  • Credentials: token or basic or session
  • Permission: gateway.app.view
  • Tier: 2
  • Legacy: gatewayIdentity
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

PATCH /WebInterface/api/v1/gateway/identity #

The assertion's issuer, the OpenID Connect provider on or off, the SAML identity provider on or off with its certificate and entity id.

  • Operation: gateway.identity.set
  • Credentials: basic or session
  • Permission: gateway.identity.edit
  • Tier: 0
  • Legacy: gatewayIdentitySave
  • Token: never
  • Read only: no

Request body (required): application/json

Field Type Required Description
issuer string The assertion's iss; empty is the sign-in address.
oidc_enabled boolean The OpenID Connect provider on or off.
saml_enabled boolean The SAML identity provider on or off; on needs saml_cert.
saml_cert string The certificate store entry that signs SAML messages (name, or name/alias).
saml_entity_id string The identity provider's entity id; empty is the sign-in address with /saml/metadata.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/gateway/identity/keys #

A new signing key for assertions and ID tokens; the old one stays published ten minutes.

  • Operation: gateway.keys.rotate
  • Credentials: basic or session
  • Permission: gateway.identity.edit
  • Tier: 0
  • Legacy: gatewayKeyRotate
  • Token: never
  • Read only: no

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/gateway/saml-metadata #

Read a SAML service provider's metadata, given as XML or fetched from its address, into an app's SAML fields. Nothing is saved.

  • Operation: gateway.saml-metadata.read
  • Credentials: basic or session
  • Permission: gateway.app.edit
  • Tier: 0
  • Legacy: gatewaySamlImport
  • Token: never
  • Read only: yes

Request body (required): application/json

Field Type Required Description
xml string The metadata XML.
url string Or its address, fetched by the server (rule S5 for an admin who is not a full administrator).

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/sessions #

The live app sessions on this server: user, app, address, start, last activity, connections. Never a cookie value.

  • Operation: gateway.sessions.list
  • Credentials: token or basic or session
  • Permission: gateway.sessions.view
  • Tier: 1
  • Legacy: gatewaySessions
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
app query string Only this app's sessions.
user query string Only this user's sessions.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

DELETE /WebInterface/api/v1/gateway/sessions/{id} #

End one app session (the user's CrushMFT session goes on).

  • Operation: gateway.sessions.end
  • Credentials: token or basic or session
  • Permission: gateway.sessions.end
  • Tier: 1
  • Legacy: gatewaySessionEnd
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
id path string yes The session's id as the list gives it.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/log #

The gateway's last 1000 audit lines on this server, newest first: sessions, refusals, changes.

  • Operation: gateway.log.list
  • Credentials: token or basic or session
  • Permission: gateway.log.view
  • Tier: 1
  • Legacy: gatewayLog
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/report #

The App access report for the days asked: sessions, requests, time, first and last use and addresses by user and app, and the refusals.

  • Operation: gateway.report.get
  • Credentials: token or basic or session
  • Permission: gateway.log.view
  • Tier: 1
  • Legacy: gatewayReport
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
from query string The first day, yyyy-mm-dd; today when left out.
to query string The last day, yyyy-mm-dd; today when left out.
app query string Only this app.
user query string Only this user.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/gateway/grants/{user} #

The apps a user may use, the role that gives each, and the user's start page.

  • Operation: gateway.grants.get
  • Credentials: token or basic or session
  • Permission: gateway.app.view
  • Tier: 2
  • Legacy: gatewayUserApps
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
user path string yes The user.
group query string The user connection group; the listener's own when left out.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
default Any other error. Problem application/problem+json

PUT /WebInterface/api/v1/gateway/grants/{user} #

Give a user these apps (the App User role and its app list); rules S1 and S2 apply.

  • Operation: gateway.grants.set
  • Credentials: token or basic or session
  • Permission: gateway.grant.edit
  • Tier: 1
  • Legacy: gatewayGrantSave
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
user path string yes The user.
group query string The user connection group; the listener's own when left out.

Request body (required): application/json

Field Type Required Description
apps any yes The app ids: a list, or comma separated; empty takes the apps away.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
404 No such object, or one outside the caller's scope. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Schemas used here#

Problem #

An error (RFC 9457), as application/problem+json. code is stable and is what a program switches on; detail says it in words; request_id finds the request in the server log.

Code Status Meaning
bad_request 400 The request cannot be read: a broken path, an unknown or badly typed parameter, a body that is not a JSON object.
validation_failed 422 The body is well-formed, but one or more of its fields cannot be used. errors lists each field, the rule and a message.
tls_refused 422 A TLS key store (a path or a password) was refused before anything was saved: it does not open, holds no usable private key, has ended or does not belong to its certificate. detail says why in plain words and what to do (design/83 section 8.1).
unauthenticated 401 No credential, or one that did not log in.
forbidden 403 Logged in, and refused. detail carries the reason the access engine gave.
tier0 403 The operation is equal to full control of the server. No token may use it, and of the accounts only the Administrator role.
read_only_token 403 The token is read-only and the operation changes something.
legacy_account 403 The account holds legacy admin flags, which the API does not act on. Convert it to roles, or issue a token for it.
not_open_yet 403 The command behind the operation is not switched on for roles and tokens yet. An administrator's own login can use it.
dmz_not_allowed 403 The request came through a DMZ, and the API does not answer those unless api_from_dmz allows it.
license_feature 403 The server's license does not include the feature the operation needs (design/78 5). feature names it, edition the edition or add-on that has it, state the license's state.
not_found 404 No such operation, no such object, or an object the caller's scope does not cover.
method_not_allowed 405 The path exists and the method does not. Allow lists the methods that do.
conflict 409 The object already exists, or is in a state that does not allow this.
precondition_failed 412 If-Match did not match: the object changed since it was read.
payload_too_large 413 The body is larger than api_max_body_kb.
unsupported_media_type 415 A body must be Content-Type: application/json.
rate_limited 429 Too many requests for this credential or address in this minute, or, on a license operation, the license service's own limit. Retry-After says when to try again.
internal_error 500 A fault in the server. The server log has the cause under the request id.
not_implemented 501 The operation is in the registry and is not built on this server yet.
unavailable 503 The server is starting or shutting down.
fips_restricted 409 The server runs in FIPS 140-3 mode (launched with -Dcrushmft.fips=true), and FIPS mode does not allow what was asked: the detail is the catalog row's reason and what to use instead, fips_id its id (CrushFTP design/61 section 5).
refused 403 An approval's dry run was refused and its answer named no code of its own (proposals.approve); the status is that answer's.
otp_required 403 The account signs in with a one-time code: one was sent to its phone or email. Send the request again with otp_token.
current_password 403 The change needs the account's current password, and it is missing or wrong.
quota 507 The upload goes past the user's quota.
mail_failed 502 The change was made, but the mail that goes with it was not sent: detail has the mail server's answer.
plugin_failed 502 The plugin the operation goes through (CrushSSO for a login token) gave no usable answer: detail has what it said.
acme_failed 502 Let's Encrypt did not give a certificate: detail has its answer.
token_missing 400 A license operation: no token was sent. Copy it from the portal.
token_unknown 422 A license operation: the license service knows no license with this token.
file_missing 400 A license operation: no license file was sent.
format 422 A license operation: this is not a license file.
license_bad 422 A license operation: the license does not verify. reason says why.
node_identity 422 A license operation: this server has no node identity to bind a license to.
no_license 422 A license operation that needs a license (a check-in, a release) on a server that has none.
not_started 422 A license operation before the server's licensing has started.
seats_full 409 A license operation: every seat of the license is in use. activations lists them; release one in the portal.
wrong_product 409 A license operation: the token or file is for another product (CrushBalance).
test_seat_unavailable 409 A license operation: the license has no test seat left.
license_suspended 403 A license operation: the license is suspended. Contact support.
license_revoked 403 A license operation: the license is revoked. Contact support.
signature_bad 400 A license operation: the license service could not verify this server's signed request; for a license file (422), its signature does not verify.
clock_skew 400 A license operation: this server's clock is too far from the license service's; server_time has the service's time.
replay 400 A license operation: the license service saw this signed request before.
trial_used 409 A license operation: this feature's trial was used already.
not_trialable 409 A license operation: this feature has no trial.
not_available 409 A license operation that is not available yet (a trial, Activate all nodes).
dmz 409 A license operation on a DMZ instance, which takes the internal server's license.
unreachable 502 A license operation: the license service could not be reached. Test the connection.
answer_bad 502 A license operation: the license service's answer could not be read.
status_bad 502 A license operation: the license service's signed status does not verify.
too_soon 429 A license operation asked again too soon (a check-in or a connection test); wait a minute.
activation_unknown 409 A license operation: the license service has no activation of this server (released or moved in the portal). Activate again.
stale 422 A license file: an older issue of the license than the one the server holds.
expired 422 A license file: its license has ended.
updates_ended 422 A license file: the perpetual license does not cover the running version.
other_server 422 A license file: it is bound to another server. Activate this one, or make its file from this server's activation request.
root_unknown 422 A license file: signed under a root this server does not know.
root_revoked 422 A license file: signed under a root that is revoked.
dev_root 422 A license file: signed under a development root, which a release build does not take.
vouch_bad 422 A license file: the root's vouch for its license key does not verify.
not_a_license_key 422 A license file: signed by a key that is not a license key.
key_revoked 422 A license file: signed by a license key that is revoked.
key_not_valid_then 422 A license file: its license key was not valid when the file was issued.
Field Type Required Description
type string
title string
code string, one of bad_request, validation_failed, tls_refused, unauthenticated, forbidden, tier0, read_only_token, legacy_account, not_open_yet, dmz_not_allowed, license_feature, not_found, method_not_allowed, conflict, precondition_failed, payload_too_large, unsupported_media_type, rate_limited, internal_error, not_implemented, unavailable, fips_restricted, refused, otp_required, current_password, quota, mail_failed, plugin_failed, acme_failed, token_missing, and 35 more
detail string
operation string
permission string
request_id string
status integer