Set answer access level to Unspecified via API
Summary:
Hello all,
We have a 1000 answers we need to change access level for all of them.
Content (required):
I am planning to use API and run a collection to update access level for all answers. I do not have an issue on adding new access level, simple done with the patch request:
PATCH: <site>/services/rest/connect/v1.4/answers/25642
{
"accessLevels": {
"id":52
}
}
I need to run 2 API requests:
- I need to set access level to Unspecified (so it won't have any)
- Second API call will be adding one.
I have an issue with the 1st step. I guess because access level is a menu, it does not let me set to 0, null, or even empty it (like it would be with an array.)
Tagged:
0