sailpoint-oss / developer.sailpoint.com

The codebase that makes up developer.sailpoint.com, including developer documentation. This codebase is open source and welcomes contributions.
https://developer.sailpoint.com
MIT License
32 stars 85 forks source link

[Bug] Requesting changes to 'Update a Segment' (patch-segment) #202

Open raghavchouda-nbn opened 1 year ago

raghavchouda-nbn commented 1 year ago

No update object for Roles, Accessprofiles and Entitlement objects under segments API

https://developer.sailpoint.com/idn/api/beta/patch-segment image

image

There should be some object reference where Segments can be updated for Role . Entitlements & Access Profiles.

At present there is no way to add and remove access from the segments created in IdentityNow. The access objects attached in Segment are not modified via API. Which restricts Implementer to utilize segments as part of there projects because things can't be automated via API.

codey-bot[bot] commented 1 year ago

🎉 Thanks for opening your first issue here! Be sure to follow the issue template, and welcome to the community! 🙌

colin-mckibben-sp commented 1 year ago

Thank you for reporting this @raghavchouda-nbn . There is a new beta endpoint for managing access in segments but it is not yet documented. I have opened a ticket to get these documented. In the meantime, please read below for the relevant details.

POST /beta/segments/{id}/change-assignments

Body:

{
  "assignments": [
    {
      "id": "2c918087801a074d01801e797a9d0f4f",
      "type": "ACCESS_PROFILE"}
    ],
    "removals":[]
}
colin-mckibben-sp commented 1 year ago

For my reference, the ticket is IDNLANAI-8918