Skip to main content
Unary · Accounts Blocks an account, preventing all API access. Use this method to:
  • Revoke access for policy violations
  • Handle abuse cases
  • Enforce compliance requirements
When an account is blocked:
  • All API requests return 403 PERMISSION_DENIED
  • All running environments are stopped
  • All active subscriptions are cancelled
Requires the block_account permission.

Examples

  • Block account for policy violation:

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.BlockAccountRequest

Response

gitpod.v1.BlockAccountResponse