Files
2025-10-30 18:58:05 +01:00

21 lines
332 B
Plaintext

---
title: "Create Role"
api: "POST /api/v1/roles"
description: "Create a new RBAC role."
---
Create a custom role with specific permissions.
## Request Body
\`\`\`json
{
"data": {
"type": "roles",
"attributes": {
"name": "Security Auditor",
"permissions": ["read:findings", "read:scans"]
}
}
}
\`\`\`