Group - Assigns access to assets for a group
Enter the ID of the tenant under which assets will be assigned to the group.
Enter the ID of the group to which assets will be assigned.
The requested API version
1.0
Class for representing response model for asset assignment errors.
A public property of type GUID 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 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 strings that has both a getter and a setter method, which allows for getting and setting the value of the RlsRole property.
Success: Acknowledgment received for the successful assignment of assets to the specified group.
Internal Server Error: An unexpected error occurred or a server timeout.
POST /tenants/{tenantId}/groups/{groupId}/assets HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 119
[
{
"assetId": "123e4567-e89b-12d3-a456-426614174000",
"roleId": "123e4567-e89b-12d3-a456-426614174000",
"rlsRole": [
"text"
]
}
]
{
"status": "Success",
"successCount": 1,
"error": {
"message": "text",
"unsuccessfulAssets": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
}
Last updated