User - Assigns assets and a tenant to a user

Assigns assets and a tenant to an existing user in the system.

post

Asset details cannot be empty, They can either be Ids of reports, datasets or dashboards

Authorizations
Path parameters
userIdstring · uuidRequired

Enter the ID of an existing user

Query parameters
tenantIdstring · uuidRequired

Enter the ID of an existing tenant

versionstringOptional

The requested API version

Default: 1.0
Bodyobject[]

Class for representing the view of rls asset.

assetIdstring · uuidOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the AssetId property.

roleIdstring · uuidOptional

A public property of type Guid (a unique identifier) that has both a getter and a setter method, which allows for getting and setting the value of the RoleId property.

rlsRolestring[] | nullableOptional

A public property of type list of string that has both a getter and a setter method, which allows for getting and setting the value of the RlsRole property.

dynamicDatasetIdstring · uuid | nullableOptional

A public property of type Guid (a unique identifier) that has both a getter and a setter method, which allows for getting and setting the value of the DynamicDatasetId property.

Responses
201
Success: Assets assigned successfully to the existing user.
post
POST /users/{userId}/roles/assign?tenantId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 177

[
  {
    "assetId": "123e4567-e89b-12d3-a456-426614174000",
    "roleId": "123e4567-e89b-12d3-a456-426614174000",
    "rlsRole": [
      "text"
    ],
    "dynamicDatasetId": "123e4567-e89b-12d3-a456-426614174000"
  }
]
{
  "message": "Success Message",
  "statusCode": 200
}

Last updated