strativd - Hey team! We recently had ABAC filte...

Hey team! We recently had ABAC filters added to our tenant but the API is not working as expected. I would expect the following request to reset the user's filters, parameters, and groups, but no changes are made to the user object:
POST: /api/rest/2.0/auth/token/custom

{
"username": "test_custom_token@example.com",
"email": "test_custom_token@example.com",
"display_name": "test_custom_token@example.com",
"validity_time_in_sec": 1,
"secret_key": "{{secret}}",
"auto_create": true,
"persist_option": "RESET",
"reset_option": [
"PARAMETERS",
"FILTER_RULES",
"GROUPS"
],
"groups": [
{"identifier": "view:EXPENSE"},
{"identifier": "662d1540-6caa-4455-b237-0cb7d3fc867f"},
{"identifier": "aabd7c80-29eb-4c94-b014-78f295e96b5d"}
],
"filter_rules": [
{
"column_name": "TESTING",
"operator": "EQ",
"values": ["2025-06-18"]
}
],
"parameter_values": [
{
"name": "TESTING",
"values": ["2025-06-18:03:39:36"]
}
]
}
POST: /api/rest/2.0/auth/token/custom

{
"username": "test_custom_token@example.com",
"email": "test_custom_token@example.com",
"display_name": "test_custom_token@example.com",
"validity_time_in_sec": 1,
"secret_key": "{{secret}}",
"auto_create": true,
"persist_option": "RESET",
"reset_option": [
"PARAMETERS",
"FILTER_RULES",
"GROUPS"
],
"groups": [
{"identifier": "view:EXPENSE"},
{"identifier": "662d1540-6caa-4455-b237-0cb7d3fc867f"},
{"identifier": "aabd7c80-29eb-4c94-b014-78f295e96b5d"}
],
"filter_rules": [
{
"column_name": "TESTING",
"operator": "EQ",
"values": ["2025-06-18"]
}
],
"parameter_values": [
{
"name": "TESTING",
"values": ["2025-06-18:03:39:36"]
}
]
}
3 Replies
Swarnika
Swarnika3mo ago
@strativd "reset_option" is not supported currently. Could you please remove it and try again?
strativd
strativdOP3mo ago
Thanks you, the docs have been updated to remove reset_option. However, I am still not able to update the user's groups. The persist_option only updates filter and parameter rules. How can I update the user's groups via the same endpoint?

Did you find this page helpful?