| Retool API (Enterprise Premium) Availability | |||
|---|---|---|---|
| Cloud | Generally Available | ||
| Self-hosted Edge 3.33 or later | Generally Available | ||
| Self-hosted Stable 3.33 or later | Generally Available | ||
Delete a role
DELETE/role_permissions/roles/:roleId
Available from API version 2.9.0+. Deletes a role. The API token must have the "Permissions > Write" scope.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Role deleted successfully
Cannot delete default role.
Authentication failure
Forbidden: API token is missing scope
Role with id {roleId} not found.