POST
/v1/mgmt/role/update
Update an existing role, using a valid management key.
This API endpoint allows administrators to update an existing role. The endpoint takes the following four parameters:
- name (required)
- newName (required)
- description (optional - though if not provided, it will be removed from the role))
- permissionNames (optional - though if not provided, it will be removed from the role))
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
newNamestring
descriptionstring
permissionNamesarray<string>
tenantIdstring
| Status code | Description |
|---|---|
200 | OK |
Was this helpful?