Admin Settings: Roles
Delete a role
Refuses with HTTP 400 when the role is assigned to any admin (admins.role_id), or when it is the only remaining role.
delete/settings/roles/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:2
Role ID.
Response
Role deleted.
Changes
No recorded changes to this operation across all 8 revisions of this API.