---
title: "Remove query worker"
method: DELETE
path: "/_fabric/{fabric}/_api/restql/{name}"
tags: ["Query Workers"]
---

# Remove query worker

`DELETE /_fabric/{fabric}/_api/restql/{name}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/restql/:name/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a query for the fabric.

## Path parameters

- `fabric` string, string, required
- `name` string, string, required

## Response `200`

Successfully removed query.

- object
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `result` unknown[]
    - unknown

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `403`: Failed because you do not have access to remove the query worker.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
