Delete a macro, leaving the timeline entries it already wrote
Remove a macro. Timeline events it wrote keep their provenance; admin-only.
/v1/macros/{macro_id}Admin- Operation id
- delete_macro
- Access
- An editor or a viewer is refused.
/v1/macros/{macro_id}Remove a macro. Timeline events it wrote keep their provenance; admin-only.
Tenancy: the request is scoped to one workspace, and the credential presented is what selects it. A caller with no membership in that workspace is refused with 404, which is indistinguishable from a workspace that does not exist.
Authorisation: admin or owner. An editor or viewer receives 403 insufficient_role.
Access: Authorization: Bearer carrying either a realm access token or an API key. A key must hold the helpdesk-ops:write scope, and the workspace role of the person who owns it must meet the floor above.
A realm-issued access token, presented as Authorization: Bearer <token>. It acts as the person who signed in, and every operation resolves their workspace role live from the membership record.
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/macros/497f6eca-6276-4993-bfeb-53cbbbba6f08"