Explain
POST /v2/iam/explain
Output
not_iam_managed with the reason iam_disabled. The action is an exact ID, and a wildcard or an unknown action answers 422. Explain does not check that the principal exists, so an unknown ID is decided like a principal without grants.
Simulate
Simulate decides a list of requests against a set of roles instead of the principal’s grants, whether or not the organization has enabled IAM. It is how an organization tests a role before granting it, or checks the requests a person sends against the roles meant to replace their current access.POST /v2/iam/simulate
Output
not_iam_managed in a simulate too. A simulate names at most ten distinct roles and fifty requests, and an unknown action or a role of another organization answers 422.