Skip to main content
POST
Simulate IAM decisions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
principal_type
enum<string>
required

Whether the principal is a user or a service account.

Available options:
user,
service_account
principal_id
string
required

The ID of the user or service account to decide for.

with_role_ids
string<uuid>[]
required

The roles of the organization to decide with, in place of the principal's grants. Duplicates are removed.

Required array length: 1 - 10 elements
requests
object[]
required

The requests to decide.

Required array length: 1 - 50 elements

Response

One decision per request, in the order of the requests.

data
object[]
required

One decision per request, in the order of the requests.