Create a custom role
Changed onCreates a custom role from a set of permissions plus optional model, endpoint and network conditions, and returns it. A role cannot grant more than you hold. Requires a signed-in session. A role that grants more than its creator holds is refused with 403 ESCALATION_REFUSED, which names the first missing permission.
Requires the role.manage permission. See Permissions for the roles and API key permissions that include it.
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/roles
- AuthHTTP bearer
Request body
Response
Created
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