Revoke org access
POST/v1/users/revoke-organization-access
Revokes organization access for one or more specified users. This removes users from the organization and terminates their access to all organization resources.
Important Notes:
- This action is immediate and cannot be undone
- Users will lose access to all organization resources
- User accounts are not deleted, only their organization membership is removed
- Users can be re-invited or re-added to the organization later
Permissions Required:
- Must have admin role in the organization
- Cannot revoke access for yourself
- Cannot revoke access for the organization owner
Request
Responses
- 200
- 400
- 401
- 403
- 404
Access revoked successfully. The specified users no longer have access to the organization.
Bad request - Invalid input parameters, malformed user IDs, or empty user list
Unauthorized - Missing or invalid authentication token
Forbidden - Authenticated but lacking permission to revoke access, or attempting to revoke own access
Not found - One or more specified users or the organization does not exist