Roles
Create new role
Changed onCreates a new role in the system. Only admins can add roles.
post/api/v1/roles
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Role created successfully
Changes
- breaking
request body became required
- breaking
removed the media type
*/*from the request body - info
api operation id
addNewRoleremoved and replaced withcreateRole - info
api tag
Rolesadded - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking