FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    How to searching roles in all application?

    Scheduled Pinned Locked Moved Solved
    Q&A
    2
    3
    709
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prawee
      last edited by

      How to searching roles in all application

      Example

      Applicaiton Roles

      • administrator
      • manager
      • user

      i want to searching role with keyword

      joshuaJ 1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua @prawee
        last edited by

        @prawee

        I might need more context for your exact use case.

        • https://fusionauth.io/docs/v1/tech/core-concepts/roles

        You can call the application that has roles defined and have all available roles returned

        • https://fusionauth.io/docs/v1/tech/apis/applications#retrieve-an-application

        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/application

        i 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

        P 1 Reply Last reply Reply Quote 0
        • P
          prawee @joshua
          last edited by

          @joshua okay thank you bro

          1 Reply Last reply Reply Quote 0
          • P prawee has marked this topic as solved on
          • First post
            Last post