Greg Lindstrom
05/19/2025, 4:53 PMJulius Kos
05/19/2025, 5:20 PM$HOST_URL/api/v1/entities/workspaces/<workspace-id>/userDataFilters
Or PUT via layout API:
$HOST_URL/api/v1/layout/workspaces/<workspace-id>/userDataFilters
The body should look like this:
{
"data": {
"type": "userDataFilter",
"id": "country",
"attributes": {
"maql": "{label/CUSTOMER_COUNTRY} = \"Canada\"",
"title": "tenant filtered to Canada Only"
},
"relationships": {
"user": {
"data": {
"id": "john.doe_tenant",
"type": "user"
}
}
}
}
}
In case the body is incorrect, you should receive an error quoteJulius Kos
05/19/2025, 5:21 PMGreg Lindstrom
05/19/2025, 5:42 PMJulius Kos
05/19/2025, 5:44 PMJulius Kos
05/19/2025, 6:03 PMGreg Lindstrom
05/19/2025, 7:00 PMDoug Creighton
05/22/2025, 8:28 PMMauricio Cabezas
05/23/2025, 12:11 AMDoug Creighton
05/26/2025, 7:33 PMDoug Creighton
05/26/2025, 7:33 PMMichael Ullock
05/26/2025, 7:58 PM