WorkOS
authorization.organizations.roles.create
Create a new custom organization role. When slug is omitted, it is auto-generated from the role name.
Remote workos
Other tools also called authorization.organizations.roles.create?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A descriptive name for the role."
},
"slug": {
"type": "string",
"description": "A unique identifier for the role within the organization. When provided, must begin with 'org-' and contain only lowercase letters, numbers, hyphens, and underscores. When omitted, a slug is auto-generated from the role name and a random suffix."
},
"description": {
"type": [
"string",
"null"
],
"description": "An optional description of the role's purpose."
},
"organizationId": {
"type": "string",
"description": "The ID of the organization."
},
"resource_type_slug": {
"type": "string",
"description": "The slug of the resource type the role is scoped to."
}
}
}