gitpod.v1.AccountService
BlockAccount
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:
accountId: "f53d2330-3795-4c5d-a1f3-453121af9c60" reason: "Terms of Service violation - spam"
post/gitpod.v1.AccountService/BlockAccount
Request body
Response
Success