How to Manage Application Roles in FusionAuth Without a Bulk Import API
- 
 Does FusionAuth provide an API to import roles for an application? 
- 
 FusionAuth does not currently offer an API specifically for importing roles in bulk. However, roles can be created for an application using the following approaches: - Create a Single Role via API:
 Use the POST /api/application/{applicationId}/role endpoint to create roles individually.
 Documentation: Create an Application Role
- Create Multiple Roles During Application Creation:
 When creating an application via the POST /api/application endpoint, you can define multiple roles as part of the application configuration. This is the most efficient way to set up multiple roles at once if you are creating a new application.
 While there isn’t a dedicated role import API, combining these endpoints allows flexibility in managing roles programmatically. 
- Create a Single Role via API:
- 
W wesley marked this topic as a question on
- 
W wesley has marked this topic as solved on