sailpoint-oss / powershell-sdk

PowerShell Module for accessing SailPoint IdentityNow APIs
https://developer.sailpoint.com/
MIT License
21 stars 15 forks source link

Get-EntitlementsSchema calls non-existing API endpoint resulting in a 400 #93

Closed chkmcheek closed 1 month ago

chkmcheek commented 1 month ago

It appears the command Get-EntitlementsSchema is trying to call a v3 endpoint /sources/:id/schemas/entitlements, which I do not believe exists. I have tried this both in PowerShell and Postman and gotten the same 400 response

image

chkmcheek commented 1 month ago

Nevermind, I was using the wrong cmdlet

Get-EntitlementSchema is meant to download a schema template and only to be used for delimited file sources. What I needed to be using was Get-SourceSchemas