Skip to main content

Delete a permission set

DELETE 

/permission-sets/:id

Deletes a permission set definition from Prism.

A permission set can only be deleted once nothing is assigned to it. If any assignment still references it (in any state, provisioned or failed, permanent or Just-In-Time) the call is refused with 409 and the response lists the assignments in the way. Delete those through DELETE /permission-set-assignments/{id} first, then retry.

This call touches nothing in AWS. It removes the definition row and nothing else. Because the operation is refused while assignments exist, the roles those assignments cut are torn down by deleting the assignments, not by this call.

Returns 200 with a body, not 204. The body's data is a single-key object echoing the id you deleted, not the deleted resource. Read it before the delete if you need to keep a copy.

Request​

Responses​

The permission set was deleted.