Description: Create a new custom global role.
Since: 7.77
Security: Bearer access token authentication is required.
Usage: POST ${baseUrl}/access/api/v1/roles
Produces: application/json
Sample Request:
{ "name": "senior developer", "actions": [ "READ_REPOSITORY" ], "type": "CUSTOM", "environments": [ "DEV" ] }
Success Response Codes
201: OK response.
Error Response Codes
400: The request payload is malformed.
401: Invalid credentials
403: Insufficient permissions.
404: Not found.