Skip to main content
POST
Create Role

Authorizations

x-client-key
string
header
required

Client API key for authentication

x-client-secret
string
header
required

Client secret for authentication

Path Parameters

workspaceId
string<uuid>
required

Workspace ID where the role will be created

Body

application/json
title
string
required

Name of the role

description
string

Description of the role

permissions
string<uuid>[]

List of permission IDs to assign to this role

users
string<uuid>[]

List of user IDs to assign to this role

reportTo
string<uuid>

Role ID that this role reports to

homepage
object

Response

Role created successfully

data
object
meta
object