Delete a macro
Use this request to delete macros.
Before making the request, get permission to access the API.
To delete a macro, use an HTTP
DELETE /v2/queues/<queue-id>/macros/<macros-id> Host: https://api.tracker.yandex.net Authorization: OAuth <token> X-Org-ID: <organization ID>
Address of the node that provides the API:
OAuth token in
OAuth <token value>format. For example:
|<queue-id>||Queue ID or key. The queue key is case-sensitive.||String|
If the request is successful, the API returns a response with code
The response body is missing.
If the request is processed incorrectly, the API returns a response with an error code:
- Insufficient rights to perform this action. You can check what rights you have in the Tracker interface. The same rights are required to perform an action via the API and interface.
- The requested object was not found. You may have specified an invalid object ID or key.
- Internal service error. Try again later.
- The API service is temporarily unavailable.