cURL
curl --request POST \ --url https://api.rigbox.dev/api/access-control/bindings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "principal": "<string>", "resource": "<string>", "role": "<string>" } '
{ "created_at": "2023-11-07T05:31:56Z", "principal_ref": "<string>", "resource_ref": "<string>", "role": "<string>", "updated_at": "2023-11-07T05:31:56Z", "created_by_ref": "<string>" }
Grant a role to a principal on a specific resource.
rig:account:{id}
rig:workspace:{id}
rig:app:{id}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Access binding created