How to searching roles in all application?
-
How to searching roles in all application
Example
Applicaiton Roles
- administrator
- manager
- user
i want to searching role with keyword
-
I might need more context for your exact use case.
You can call the application that has roles defined and have all available roles returned
Retrieve a single Application by Id
URI
GET /api/application/{applicationId}Since roles are scoped to an application, if you wanted to return all roles for all applications, you would call our
all applications endpoint
above and iterate through all available roles per application.Retrieve all of the active Applications
URI
GET /api/applicationi want to searching role with keyword
Once you had this full result, you could create an interface to search for a keyword (this would be completed outside of FusionAuth).
I hope this helps!
Thanks,
Josh -
@joshua okay thank you bro
-