v1

latestOpenAPI 3.1.02026-08-06330343826.1 KB
User

Asset Groups Access

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

Path parameters

idinteger required

The identifier of the user.

Example:9

The identifier of the user.

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