mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-19 18:41:50 +00:00
21 lines
332 B
Plaintext
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"]
|
|
}
|
|
}
|
|
}
|
|
\`\`\`
|