FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. shaheem.aziz
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    shaheem.aziz

    @shaheem.aziz

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    shaheem.aziz Unfollow Follow

    Latest posts made by shaheem.aziz

    • Can role name be changed using PATCH api

      Hi guys,

      My name is Shaheem and I am new to the forum. I am trying to learn and integrate FusionAuth as the identity provider for my framework and so far it has been a excellent experience. Thumbs up guys 👍 . Its definitely one of easiest Identity provider I have worked with and the API and documentation is excellent 👍

      Anyways I have been having some issues with the PATCH command for roles "/api/application/{applicationId}/role/{roleId}". I am trying to update the role name and it simply does not update.

      FusionAuth Version: 1.30.2
      MultiTenancy Setup: Yes
      API Key: Global Key - No Tenants selected
      FusionAuth-3.jpg

      I am using .Net 5 (Web Api with Blazor wasm standalone) with direct FusionAuth REST API but I was able to replicate the issue with postman as well as shown below.

      1 - Test to change the name of an existing role

      • Existing name of the Role was "New Role"
      • Tried to change the role name to "Test Role Updated"

      FusionAuth-1.jpg

      2 - Test to update the role name and and other properties (IsDefault & description)

      • Existing name of the Role was "New Role"
      • Existing isDefault value was "false" (as in previous screenshot)
      • There was no existing description

      FusionAuth-2.jpg

      Question: Can role names be updated via api?

      Anyways it would be great if you could have a look at the issue

      Thanks
      Shaheem

      posted in Q&A
      S
      shaheem.aziz