Skip to content

Create role.

POST
/backend/v1/auth/roles

Create a new role associated with a given resource.

Currently available resources to associate with a role are the organization and projects.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"permissions": [
undefined
],
"projectId": "string"
}

Responses

Successful Response
application/json
JSON
{
"id": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Updated at: