Providing a subset of attributes to PUT in AM REST API

This topic has 0 replies, 1 voice, and was last updated 1 month, 3 weeks ago by madhun.

  • Author
    Posts
  • #28402
     madhun
    Participant

    I am trying to see if it is possible to update the TrustedJwtIssuer resource by providing a subset of the attributes to PUT (kinda like PATCH).

    ForgeRock 6.5.3 documentation at https://backstage.forgerock.com/docs/am/6.5/dev-guide/index.html#sec-about-crest talks about a Patch operation in general, but API Explorer only refers to “/realm-config/agents/TrustedJwtIssuer/{id}#_update” that seems to indicate this works like PATCH.

    When I invoked PUT openam/json/realm-config/agents/TrustedJwtIssuer/<id>#_update with just a couple of attributes, the values of the remaining attributes got reset to blank! In other words, specifying #_update in the URL had no impact.

    Am I required to GET all the attributes, modify the subset and PUT with the entire payload? What is the purpose of #_update then?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?