# Setting Requestable Objects in Bulk

**URL:** <https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156>\
**Category:** SHF Discussion and Questions\
**Tags:** roles, sailpoint-identity-security\
**Created:** [August 26, 2024, 9:57am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156 "2024-08-26T09:57:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 26, 2024, 9:57am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/1 "2024-08-26T09:57:13Z")

</div>

Hi all,

We are currently migrating all business roles from IIQ to IDN and we have more than 6000 roles to be migrated. I was wondering is there any API to make all roles requestable in bulk in IDN. I know there is Bulk Importer Tool, however it does not seem very effective as it requires too much information/ excel work to update only one column. Any help would be appreciated. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![shaileeM](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shaileem/32/15314_2.png) [@shaileeM](https://developer.sailpoint.com/discuss/u/shaileeM)\
**Post date:** [August 26, 2024, 10:43am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/2 "2024-08-26T10:43:14Z")

</div>

Hi @sahincelik ,

If you have a way to extract IDs for all your roles, you can input them in a CSV file and use it as an input to [patch-role | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/patch-role/) API in collection runner.

HTH

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 26, 2024, 11:09am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/4 "2024-08-26T11:09:03Z")

</div>

Hi, Thanks for your reply. Do you have an example of this API for multiple roles? Because it seemed to me that you can only update one role at a time with this API.

---

<div class="post-metadata">

**Author:** ![gourab](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gourab/32/18650_2.png) [@gourab](https://developer.sailpoint.com/discuss/u/gourab)\
**Post date:** [August 26, 2024, 11:12am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/5 "2024-08-26T11:12:42Z")

</div>

Hi @sahincelik ,  
This api works on a single role, as @shaileeM suggested , put all role Ids in csv and iterate through each role.

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 26, 2024, 11:27am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/6 "2024-08-26T11:27:03Z")

</div>

Hi @gourab, thanks for your swift response. I haven’t done this before. Could you please show me an example of this? How can I iterate it on Postman?

---

<div class="post-metadata">

**Author:** ![amahlemohlokonya](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/amahlemohlokonya/32/15504_2.png) [@amahlemohlokonya](https://developer.sailpoint.com/discuss/u/amahlemohlokonya)\
**Post date:** [August 26, 2024, 11:27am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/7 "2024-08-26T11:27:26Z")

</div>

Hi @sahincelik , you can also build PowerShell script based on the API provided by @shaileeM and @gourab suggestion or use [PowerShell SDK | SailPoint Developer Community](https://developer.sailpoint.com/docs/tools/sdk/powershell/)

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 26, 2024, 12:07pm UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/8 "2024-08-26T12:07:06Z")

</div>

Thanks for suggestion @amahlemohlokonya. Actually, handling this with Postman seems just fine. I only need to know how to pass role ids here. I have a csv imported in the collection level. And I am running the API with configurations below. It gives the following error. What am I missing here?

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/a/a25f67232cdc1b2fd55443316c95fc106e242a53.png)

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/6/6648160357012a686797165afe729623bfbe50ad.png)

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/e/eba1dae903ff784a5a2f000f10c535277078e2eb.png)

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/4/4aeeb841d97dc8f4135eaf32594916b2502d67da.png)

---

<div class="post-metadata">

**Author:** ![shaileeM](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shaileem/32/15314_2.png) [@shaileeM](https://developer.sailpoint.com/discuss/u/shaileeM)\
**Post date:** [August 26, 2024, 12:19pm UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/9 "2024-08-26T12:19:20Z")

</div>

Hi @sahincelik ,

Please try below body:

```auto
[
  {
    "op": "replace",
    "path": "/requestable",
    "value": "true"
  }
]

```

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 26, 2024, 12:32pm UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/10 "2024-08-26T12:32:39Z")

</div>

Thanks all for the support. It worked!

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 27, 2024, 6:51am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/11 "2024-08-27T06:51:49Z")

</div>

Hi all, I have one additional question. It gives the following error after updating 800 roles. So, I was wondering how can we increase this client agent usage? Is there a way to increase? Thanks in advance!

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/2/20fb7326ab59db22ad8d63115f37cd18edbf370b.png)

---

<div class="post-metadata">

**Author:** ![shaileeM](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shaileem/32/15314_2.png) [@shaileeM](https://developer.sailpoint.com/discuss/u/shaileeM)\
**Post date:** [August 27, 2024, 7:44am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/12 "2024-08-27T07:44:16Z")

</div>

Hi @sahincelik ,

You can download desktop Postman agent and run the query. [Postman Agent: For Mac, Windows, & Linux](https://www.postman.com/downloads/postman-agent/)

---

<div class="post-metadata">

**Author:** ![sahincelik](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sahincelik](https://developer.sailpoint.com/discuss/u/sahincelik)\
**Post date:** [August 27, 2024, 9:03am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/13 "2024-08-27T09:03:13Z")

</div>

Awesome! Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [October 26, 2024, 9:03am UTC](https://developer.sailpoint.com/discuss/t/setting-requestable-objects-in-bulk/78156/14 "2024-10-26T09:03:38Z")

</div>

Closed on October 26, 2024, 9:03am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
