| 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 | ||
Create a role
POST/role_permissions/roles
Available from API version 2.9.0+. Creates a role. The API token must have the "Permissions > Write" scope.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 422
Role created successfully
Missing required body parameter:
Authentication failure
Forbidden: API token is missing scope
An object with the given value already exists.
Encountered ValidationError when processing your request.