Create or update an organization role
Requires Authorization: Bearer
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”org-adminOrganization role slug. Must start with ‘org-’ followed by lowercase letters, numbers, hyphens, or underscores.
org_123Provider tenant or organization identifier. In WorkOS mode this is the WorkOS organization id, for example org_123.
Request Body required
Section titled “Request Body required ”object
Human-readable organization role name shown in the configured access provider.
Organization AdminResponses
Section titled “ Responses ”Created or updated role id
object
Provider role identifier returned after the organization role is created or updated.
role_01HXYZBAD_REQUEST
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNAUTHORIZED
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailFORBIDDEN
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailNOT_FOUND
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailCONFLICT
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNPROCESSABLE_ENTITY
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailConfigured access provider rate limited the request.
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailINTERNAL_SERVER_ERROR
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailAccess-management provider is not configured for this environment.
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/email