Role and grant

List grants for a user

Changed on

List all grants assigned to a user. Returns a paginated list of grants with role information.

get/user/{id}/grant

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/user/{id}/grant
  • Auth
    HTTP bearer

Path parameters

idinteger required

The unique identifier for the user.

Query parameters

offsetinteger

The number of items to skip before starting to collect the result set.

limitinteger

The maximum number of items to return.

Response

The list of grants for the user.

Example response

{
  "paging": {
    "limit": 30
  },
  "results": [
    {
      "id": 12345,
      "nrn": "organization=1:account=2",
      "user_id": 789,
      "role_id": 700317756,
      "role_slug": "developer",
      "status": "active"
    }
  ]
}

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

    • info

      endpoint added