User - Assign assets and tenants to an existing user
Asset details cannot be empty, They can either be Ids of reports, datasets or dashboards
Please enter a valid token
Expects Id of an existing user
Expects Id of an existing tenant
The requested API version
1.0Class for representing the view of rls asset.
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.
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.
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.
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.
Successful assignment of assets to an existing user
Bad request received.
Un-authorized request
Indicates that the requested tenant/role does not exist
Server related error
POST /users/{userId}/roles/assign?tenantId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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