Role → Update
AI-generatedSummary
Update a custom role's properties by specifying its ID, new name, and permissions; sends a PUT request to /api/dashboard/roles to apply changes.
Inputs
- Role ID (required) — Numeric ID of the role to update.
- Name (required) — New name for the role.
- Permissions — JSON array representing the allowed extensions or permissions for the role.
Output shape
a single record representing the updated role
The API response returns data about the updated role after sending the update request.