roles
Update
Updates a custom role's name, description, or permission grant (each field optional; permissions, if present, REPLACES the full set rather than merging individual flags). Built-in roles return 409 immutable. System-admin (platform-only) gated, for the same reason as createRole: only a cross_tenant holder can reach this route.
put/admin/roles/{id}
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/admin/roles/{id}
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Path parameters
idstring required
id
Request body
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.