Menu
Replace collection
Replace collection
PUT
/v1/collections/{collection_id}Use it in a workflow
- Add a step and choose the Constructor connector.
- Pick the Replace collection action (under Collections).
- Fill in the fields below, then reference the result from later steps as
{{replaceCollection.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"display_name": "string",
"filter_expression": null,
"data": {},
"discoverable": false,
"matches": [
{
"pattern": "string",
"match_type": "PHRASE"
}
],
"start_time": "2025-01-01T00:00:00Z",
"end_time": "2025-01-01T00:00:00Z",
"overridden_collection_id": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{replaceCollection.response.data.<field>}}.
{
"id": "string",
"display_name": "string",
"created_at": "2025-01-01T00:00:00Z",
"filter_expression": null,
"data": {},
"discoverable": false,
"matches": [
{
"pattern": "string",
"match_type": "PHRASE"
}
],
"start_time": "2025-01-01T00:00:00Z",
"end_time": "2025-01-01T00:00:00Z",
"overridden_collection_id": "string",
"updated_at": "2025-01-01T00:00:00Z"
}
Need more? See the Constructor guide for connection setup and behaviour shared by every action.
Was this page helpful?