API ReferenceRoles
Update Role
Update role, identified by id.
Authorization
bearerAuth superuserAuthorization<token>
In: header
Scope: superuser
Path Parameters
id*string
The ID.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Try it live
curl -X PUT "https://example.com/roles/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Empty