Update a role
Change the specified fields with the provided values.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
role_id
Headers
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
name
The new name for this role. Role names are case-sensitive, can contain only ASCII characters, and must be unique.
permissions
Access permissions
Response
Successful Response
id
UUID role ID
created_at
UTC datetime
updated_at
UTC datetime
name
Role name
permissions
Access permissions
status
record status, 'active' by default
Allowed values:
Errors
400
Patch Roles ID Request Bad Request Error
401
Patch Roles ID Request Unauthorized Error
404
Patch Roles ID Request Not Found Error
422
Patch Roles ID Request Unprocessable Entity Error
429
Patch Roles ID Request Too Many Requests Error