Skip to main content
POST
Create a role binding.
Resource refs use the format rig:account:{id}, rig:workspace:{id}, or rig:app:{id}.

Authorizations

Authorization
string
header
required

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

Body

application/json
principal
string
required
resource
string
required
role
string
required

Response

200 - application/json

Binding created

created_at
string<date-time>
required
principal_ref
string
required
resource_ref
string
required
role
string
required
updated_at
string<date-time>
required
created_by_ref
string | null