POST
/v1/mgmt/role/create
Create a role, using a valid management key.
This API endpoint allows administrators to create a new role. The endpoint takes the following three parameters:
- name (required)
- description (optional)
- permissionNames (optional)
See also
- See User Authorization for further details on managing roles and permissions.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
name
string
description
string
permissionNames
array<string>
tenantId
string
Status code | Description |
---|---|
200 | OK |
Was this helpful?