Appearance
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"
}