create_role
Create a new user role in BookStack with custom display name, description, and permission assignments to manage access control within the wiki system.
Instructions
Create a new role
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Role description | |
display_name | Yes | Display name for the role (required) | |
external_auth_id | No | External authentication ID | |
permissions | No | Array of permission names to assign to the role |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Role description",
"type": "string"
},
"display_name": {
"description": "Display name for the role (required)",
"type": "string"
},
"external_auth_id": {
"description": "External authentication ID",
"type": "string"
},
"permissions": {
"description": "Array of permission names to assign to the role",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"display_name"
],
"type": "object"
}