Update filter
PUT
/api/filters/{id}
Update a filter by id. Admin role is required.
Authorizations
bearerAuth
Bearer token using a JWT
Type
HTTP (Bearer)
Parameters
Path Parameters
id*
Id of the filter to update.
Type
Requiredinteger
Example
1Request Body
application/json
JSON "negate": false, "tags": [ ], "places": [ { "id": 23, "name": "Place name" } ], "actors": [ { "ap_id": "AP_ID" } ], "collectionId": 3
{
}
Responses
The updated filter.
application/json
JSON "id": 12, "negate": false, "tags": [ ], "places": [ { "id": 23, "name": "Place name" } ], "actors": [ { "ap_id": "AP_ID" } ], "collectionId": 3
{
}

