Suspend or resume organisation
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
AuthorizationstringheaderrequiredAn access token:
Bearer <access-token>.
Path parameters
organisationId stringrequiredThe ID of the organisation, from List organisations of the installation.
At most 256 characters.
Example:
"6731f0c2a1b2c3d4e5f60789"
Body
statusenum<string>requiredsuspendedsuspends the organisation;activeresumes it.Available options:
suspended,activeExample:
"suspended"
Response
The organisation has the new state in the API.
organisationobjectAn 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.
walletSuspension objectThe result in the organisation wallet.