delete_role
Remove a role from the BookStack wiki system, with optional content ownership transfer to another role before deletion.
Instructions
Delete a role (users with this role will lose it)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Role ID | |
| migrate_ownership_id | No | ID of role to transfer ownership of content to |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"description": "Role ID",
"type": "number"
},
"migrate_ownership_id": {
"description": "ID of role to transfer ownership of content to",
"type": "number"
}
},
"required": [
"id"
],
"type": "object"
}