Last modified 13 Mar 2024 13:32 +01:00
Entitlement Self Request
curl --user Jack:y0uR_P455woR*d \
-H "Content-Type: application/json" \
-X PATCH http://localhost:8080/midpoint/ws/rest/users/a9885c61-c442-42d8-af34-8182a8653e3c \
-v \
--data-binary @./samples/rest/modify-attribute-assign-entitlement.json
Show data source example for "Entitlement Self Request" | GitHub
{
  "objectModification": {
    "itemDelta": {
      "modificationType": "add",
      "path": "assignment",
      "value": {
      "targetRef": {
        "oid": "96262f4f-053a-4b0b-8901-b3ec01e3509c",
        "type": "RoleType"
      }
      }
      }
    }
  }

The response is an HTTP 204 code in case of success without a response body.

Was this page helpful?
YES NO
Thanks for your feedback