Disconnect a hosted gateway by revoking its key (workspace admin)

From the page itself (same-origin, a JSON body such as {}, as approve). An ADMIN or above of the session's workspace revokes a key that a hosted gateway sign-on issued there (it appears in the workspace key list as agentsafe-hosted-<tenant_label> with scopes ["decision:shadow"]), including one that lapsed undelivered; the gateway records nothing more. Any other key answers 404.

post/v1/hosted-gateway/keys/{key_id}/revoke

Request

  • Base URL: https://api.decionis.com
  • URL: https://api.decionis.com/v1/hosted-gateway/keys/{key_id}/revoke
  • Auth: API key in cookie decionis_account_session

Path parameters

key_idstring uuid required

Request body

object required

Response

Revoked

key_idstring uuid required
org_idstring uuid required
tenant_labelstring nullable required
revoked_atstring date-time required
revoked_reasonstring required

Example response

{
  "revoked_reason": "self_revoked"
}

Changes

No recorded changes to this operation across all 1 revision of this API.