Role and grant

Grant access to a user

Give users access to resources (NRN) in your organization.

You can use either the role slug or the role ID to specify the role you want to assign to the user.

post/authz/grants

Request body

OR

Example request

{
  "nrn": "organization=1:account=1:namespace=1:application=4",
  "user_id": 700317756,
  "role_slug": "developer"
}

Response

The operation was successful.

OR

Example response

{
  "nrn": "organization=1:account=1:namespace=1:application=4",
  "user_id": 700317756,
  "role_slug": "developer"
}

Changes