User - Creates a new user with assigned assets
Asset details cannot be empty, They can either be Ids of reports, datasets or dashboards
Authorizations
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Class for represting the view of user mapping.
userIdstring · 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 UserId property.
tenantIdstring · 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 TenantId property.
Responses
201
Success: User created successfully with associated asset and tenant details.
400
Bad Request: The request could not be processed due to invalid syntax or missing/incorrect parameters.
401
Unauthorized: Invalid credentials or missing/invalid authentication token.
404
Not Found: The requested tenant or role does not exist
500
Internal Server Error: An unexpected error occurred or a server timeout.
post
POST /users HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 285
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": "123e4567-e89b-12d3-a456-426614174000",
"asset": [
{
"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
}
PreviousUser - Retrieves a list of users with filtersNextUser - Assigns assets and a tenant to a user
Last updated