Hello All,
We have a requirement for bulk role creation and assignment in SailPoint ISC using a Ruby script. Could you please advise whether there are any alternative approaches available to achieve this requirement?
Also, the SailPoint Ruby Script documentation page is currently inaccessible. Please share any alternative documentation or reference materials available for Ruby script implementation in SailPoint ISC.
VS Code “Identity Security Cloud” extension – actively maintained, lets you bulk create/import roles and access profiles from a CSV. Probably the easiest drop-in replacement.
Direct API calls – POST /roles/v1 and POST /access-profiles/v1, looped over your CSV in whatever language you’re comfortable with (Python/PowerShell/Node all have official SDKs if you want one).
Hi @gbalag ,
There’s no bulk endpoint — POST /roles/v1 creates one role per API call, so for N roles you’d loop N calls (same for POST /access-profile/v1). There’s no batch/array payload option on this endpoint.
Two limits worth knowing for planning bulk creation:
Org-wide cap: there’s a soft limit of 800 roles per org in ISC. Raise support request for exact limit.
Rate limit: API calls are capped at 100 requests per access token per 10 seconds. If you exceed it, you’ll get a 429 with a Retry-After header telling you how long to back off.
Loop the create calls, add a small delay/backoff to stay under the rate limit, and keep total role count in mind if you’re near 800.
You can make use of available POST API calls for role/access profile creation by passing CSV payload where pre-defined mandatory attribute information is provided like role name, description, role owner, enabled(true or false), requestable(true or false) etc.
Once you determine the payload attributes, make use of available language SDK as suggested by others.
You can make use of Postman/Bruno as well for running collection in bulk.
you can use the Bulk import from the VS code , you just need to format in the excel sheet, with assignment as well with any no of entitlements with those roles.
I have done in past only time consumed in the formatting and for that also you can use format tools.
You can use the SailPoint ISC API’s for Role and Access Profile creation. If you want to create in bulk then you can write script to execute this in loop.