Skip to main content

Get a permission set assignment

GET 

/permission-set-assignments/:id

Returns one assignment in full, including the provisioning fields the list view leaves out: status, roleName, errorMessage, provisionedAt and the timestamps.

This is the only way to find out whether an assignment has actually reached AWS. After a POST, poll here until status becomes PROVISIONED; and treat a 404 as provisioning having failed, because Prism deletes the row rather than leave a phantom entry behind when the background work does not succeed.

Unlike the list endpoint, this one still returns an assignment whose permission set has since been deleted; permissionSetName comes back as an empty string in that case.

Request​

Responses​

The assignment.