Adobe Remove user via API

To add a remove to a user from a group in Adobe

in iHub

  1. Click Create and select an action

  2. Select the action created in this Adobe Exchange JWT to an Access token tutorial as parent.

  3. Select application/json as template

  4. Click Create

  5. You will now have a “Exchange JWT to an Access token” parent and a child action called “Remove license”

  6. Select Method POST

  7. Add URL https://usermanagement.adobe.io/v2/usermanagement/action/MY_ORG_NUMBER@AdobeOrg

  8. Add headers

Content-Type

application/json

 

Accept

application/json

 

Authorization

Bearer {{access_token}}

note that the access_token var comes from the parent

x-api-key

key found in the Adobe console

 

  1.  

  2. Enter body, (note country and the custom field holding the group might differ from your system)

    [{ "user" : "{{issue.reporter.emailAddress}}", "requestID" : "{{issue.key}}", "do" : [ { "remove" : { "group" : [ "{{issue.customfield_102230}}"] } } ] }]
  3. Test with an issue key

  4. Result user in the reporter field gets added in the group specified in the field issue.customfield_102230. note that this Group needs to be in Adobe before this call.

Reference: API Reference