Create a new custom role or update an existing one. Pass role_id to update.
Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Roles Manage (organization) |
role_id (or set to 0) to create; pass an existing ID to update.role_name must be 1–39 characters and unique within the account.permission_ids sets the full permission set for the role, replacing any previous assignment.App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Parameters for creating or updating a custom role.
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.