Users and roles
Create a role
POST/api/v1/admin/roles
Who can use this: Site adminsAs Markdown
A new role carries nothing until you give it permissions; then give the role to accounts. New roles are never protected, so they can be deleted later.
Parameters
| Name | Where | What it is |
| name required |
body |
The role's name.e.g. auditor |
| description |
body |
What the role is for, in a few words.e.g. Reads the audit log |
Good to know
- A name already in use answers 409.