This topic has 1 reply, 1 voice, and was last updated 3 years, 2 months ago by pinku.

  • Author
    Posts
  • #23877
     pinku
    Participant

    Hi, can anybody help me with the syntax for the rest patch to send the additionalParams.?

    curl \
    –header “X-OpenIDM-Username: openidm-admin” \
    –header “X-OpenIDM-Password: openidm-admin” \
    –header “Content-Type: application/json” \
    –request PATCH \
    –data ‘[
    {
    “operation”: “replace”,
    “field”: “/address”,
    “value”: “asdasdasdasdasdasdasdasd”
    }
    ]’ \
    http://localhost:8080/openidm/managed/user/27600b97-2981-4315-a02d-cbcc298375bf”

    Regards

    #23878
     pinku
    Participant

    Sorry, got the answer just pass as query parameter

    curl \
    –header “X-OpenIDM-Username: openidm-admin” \
    –header “X-OpenIDM-Password: openidm-admin” \
    –header “Content-Type: application/json” \
    –request PATCH \
    –data ‘[
    {
    “operation”: “replace”,
    “field”: “/address”,
    “value”: “asdasdasdasdasdasdasdasd”
    }
    ]’ \
    “http://localhost:8080/openidm/managed/user/27600b97-2981-4315-a02d-cbcc298375bf?sadasdasd=sadasdasdd”

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 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?