Firedubdub
Firedubdub

Reputation: 1

Need help parsing values into HTTP Patch Request

I am trying to create an Azure Logic App to activate/deactivate a user.

This is the actual user data set that I have.

End Goal: I am trying to change "active":false

{
      "emails": [
        {
          "type": "work",
          "value": "[email protected]",
          "primary": true
        }
      ],
      "externalId": "111",
      "active": true,
      "groups": [
        {
          "display": "users",
          "type": "direct",
          "value": "11",
          "$ref": "Groups/11"
        }
   `   ],
      "id": "001",
      "userName": "[email protected]"
}

enter image description here

I have used these parameters but I received this error:

"{
  "schemas": [
    "urn:ietf:params:api:messages:2.0:Error"
  ],
  "detail": "class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')",
  "status": "500"
}"

Any idea what should I add/change to get this to work?

Thanks!

Upvotes: 0

Views: 150

Answers (0)

Related Questions