Manage organization roles and permissions through Clerk's API
- Category
- API
- Published
Build custom role based access control (RBAC) systems by managing over organization roles and permissions via an API.
You can now implement completely manage permissions and roles through the Clerk Backend API. Build sophisticated access control systems tailored to your application's needs — whether you're syncing roles from external systems, automating permission assignments, or creating custom admin interfaces.
What's new
The following endpoints are now available on Clerk's backend API:
Organization Permissions
GET /v1/organization_permissions- List all permissions with pagination and filteringPOST /v1/organization_permissions- Create a new permissionGET /v1/organization_permissions/{permission_id}- Retrieve a specific permissionPATCH /v1/organization_permissions/{permission_id}- Update a permissionDELETE /v1/organization_permissions/{permission_id}- Delete a permission
Organization Roles
GET /v1/organization_roles- List all rolesPOST /v1/organization_roles- Create a new roleGET /v1/organization_roles/{role_id}- Retrieve a specific rolePATCH /v1/organization_roles/{role_id}- Update a roleDELETE /v1/organization_roles/{role_id}- Delete a role
Role Permissions
POST /v1/organization_roles/{role_id}/permissions/{permission_id}- Assign a permission to a roleDELETE /v1/organization_roles/{role_id}/permissions/{permission_id}- Remove a permission from a role
Getting started
Visit the API reference for detailed documentation on request parameters and response formats.