Users and roles
Take a permission from a role
DELETE/api/v1/admin/roles/:role/permissions/:permission
Who can use this: Site adminsAs Markdown
Every account with the role loses the permission, unless another of its roles carries it too.
Parameters
| Name | Where | What it is |
|---|---|---|
| role required | path | The role's name.e.g. auditor |
| permission required | path | The permission's name.e.g. audit.view |
Good to know
- It answers ok even when the role didn't have the permission, or either name is unknown.