How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Clerk Role Sets API

Role sets define collections of roles that can be assigned to organization members.Each organization uses one role set to determine the available roles for its members.Role sets support default roles for new members and creator roles for organization founders.

Clerk Role Sets API is one of 104 APIs that Clerk publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Role Sets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

This API exposes 7 operations across 5 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 2025-11-10.

Requests are made against a single base URL, https://api.clerk.com/v1.

7 operations 5 paths 8 schemas 2 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2025-11-10
Base URL
https://api.clerk.com/v1
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Clerk Role Sets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (sk__) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Secret key, obtained under "API Keys" in the Clerk Dashboard.

Paths & Operations 7

Across 5 paths, the API surfaces 7 operations — 2 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Role Sets 7

Role sets define collections of roles that can be assigned to organization members. Each organization uses one role set to determine the available roles for its members. Role sets…

GET
/role_sets
Get a List of Role Sets
ListRoleSets 4 params → 200400401403422
POST
/role_sets
Create a Role Set
CreateRoleSet body → 200400401402403404422
GET
/role_sets/{role_set_key_or_id}
Retrieve a Role Set
GetRoleSet 1 param → 200401403404
PATCH
/role_sets/{role_set_key_or_id}
Update a Role Set
UpdateRoleSet 1 param body → 200400401403404422
POST
/role_sets/{role_set_key_or_id}/replace
Replace a Role Set
ReplaceRoleSet 1 param body → 200400401403404422
POST
/role_sets/{role_set_key_or_id}/roles
Add Roles to a Role Set
AddRolesToRoleSet 1 param body → 200400401403404422
POST
/role_sets/{role_set_key_or_id}/roles/replace
Replace a Role in a Role Set
ReplaceRoleInRoleSet 1 param body → 200400401403404422

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are RoleSetMigration (14 properties), RoleSet (12 properties), RoleSetItem (9 properties), DeletedObject (5 properties). Each schema is shown below with its type and property counts.

DeletedObject
object
5 properties 2 required
ClerkErrors
object
3 properties 1 required
RoleSetItem
object
A role within a role set
9 properties 7 required
RoleSet
object
A role set defines a collection of roles that can be assigned to organization members
12 properties 9 required
ReassignmentMappings
object
Mappings from source role keys to destination role keys for role reassignment
RoleSetMigration
object
Information about an ongoing role set migration
14 properties 9 required
ClerkError
object
4 properties 3 required
RoleSets
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

clerk-com-role-sets-api-openapi.yml Raw ↑

Other APIs Clerk publishes across the network.

Clerk Account Portal API
Clerk Active Sessions API
Clerk Actor Tokens API
Clerk Agent Tasks API
Clerk Allow-list / Block-list API
Clerk API Keys API
Clerk Application Transfers API
Clerk Applications API
Clerk Backup Codes API
Clerk Beta Features API
Clerk Billing API
Clerk Checkouts API
Where this information came from

This is an independent, third-party profile of Clerk Role Sets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.