User

Asset Groups Access

Changed on

Updates the asset groups to which the user has access. Individual asset group access cannot be granted to users with the allAssetGroups permission. <br>Privileges: Global Administrator

put/api/3/users/{id}/asset_groups

Request

Path parameters

idinteger required

The identifier of the user.

Example:9

Request body

integer[] required

The identifiers of the asset groups to grant the user access to. Ignored if user has access to allAssetGroups.

Example request

[
  61
]

Response

OK

Example response

{
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ]
}

Changes

    • breaking

      added required request body

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status