Skip to main content
Organisations

Suspend or resume organisation

PUT/v4/onboard/platform/operator/organisation/{organisationId}/status

Suspends (suspended) or resumes (active) an organisation. A suspension can be undone: the data, the keys and the wallet units of the organisation stay, and no credential is revoked. While the organisation is suspended, each call with its API keys or the logins of its admins gets 401 with errorKey organisation_suspended, and its organisation wallet refuses its operations; the status lists, the issuer metadata and the JWKS stay available. See Suspension.

The answer is 200 when the API has the new state. walletSuspension tells whether the organisation wallet has it also. With failed, send the same request again: a request for the state that the organisation has changes nothing in the API and sends the state to the wallet again.

Authorizations

  • Authorizationstringheaderrequired

    An access token: Bearer <access-token>.

Path parameters

Body

application/json
  • statusenum<string>required

    suspended suspends the organisation; active resumes it.

    Available options:suspended,active

    Example:"suspended"

Response

application/json

The organisation has the new state in the API.

  • organisationobject

    An organisation of the installation as a platform admin sees it: its profile and its state. It has no data of the organisation, such as its credentials, records or keys.

  • walletSuspensionobject

    The result in the organisation wallet.