-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
Description
- GET:
http://localhost:3000/api/groups/31/?expand=resources&attributes=description,entitlement.filters
Result:
{
"href": "http://localhost:3000/api/groups/31",
"description": "joe",
"id": "31",
"entitlement": {
"filters": {
"belongsto": ["/belongsto/ExtManagementSystem|VMware-infrastructure/EmsFolder|Datacenters/EmsFolder|XXX/EmsFolder|datastore"],
"managed": [["/managed/cc/001"]]
}
}
}
BODY:
{
"action" : "edit",
"resource" : {
"filters" : null
}
}
-
Do the GET in 1) again, and the filters remain
-
If you do the POST in 2) but with an empty [] filter, see below, it will work. null does not work.
BODY:
{
"action" : "edit",
"resource" : {
"filters" : {
"belongsto": [],
"managed": [[]]
}
}
}