Skip to main content

Create organization role

Create a custom role under an organization. This custom role will only be available for assignment to the principles within the organization.

Path Parameters
    orgId string required

    The organization ID to which the role belongs to.

Request Body required
    name string
    permissions string[]
    metadata object
    title string
    scopes string[]
Responses

A successful response.


Schema
    role object
    id string
    name string
    permissions string[]
    title string
    metadata object
    createdAt date-time

    The time the role was created.

    updatedAt date-time

    The time the role was last updated.

    orgId string
    state string
    scopes string[]
Loading...