Roles
Update a custom role
Changed onChanges a custom role's name, description, permissions, or its model, endpoint and network conditions, and returns it. Built-in roles cannot be changed. Requires a signed-in session. The same no-escalation rule as creation applies.
Requires the role.manage permission. See Permissions for the roles and API key permissions that include it.
patch/v1/roles/{roleId}
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/roles/{roleId}
- AuthHTTP bearer
Path parameters
roleIdstring required
Request body
Response
Updated
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status
- warning