Role and grant

Grant access to a user

Changed on

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

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/authz/grants
  • Auth
    HTTP bearer

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

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status