Archive Macros (Bulk)
gorgias_archive_macrosArchive multiple macros at once by ID, removing them from active use without permanent deletion. Supports up to 30 IDs per request and returns per-ID results.
Instructions
PUT /api/macros/archive — Bulk archive multiple macros by ID. Archiving removes macros from the active list without permanently deleting them. Max 30 IDs per request. Returns per-ID results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "gorgias_archive_macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | List of macro IDs to archive (min: 1, max: 30 per request) |