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
AuthorizationRequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
namestring
descriptionstring
permissionNamesarray<string>
tenantIdstring
| Status code | Description |
|---|---|
200 | OK |
Was this helpful?