---
title: "Clear the query worker access level."
method: DELETE
path: "/_api/user/{user}/database/{geofabric}/restql/{query-worker}"
tags: ["Users"]
---

# Clear the query worker access level.

`DELETE /_api/user/{user}/database/{geofabric}/restql/{query-worker}`

## 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/_api/user/:user/database/:geofabric/restql/:query-worker/delete.ts> (a function with typed inputs; its response is checked against the schema)

Clear the access level for the query worker *query worker* in the GeoFabric *geofabric* of user *user*. After this runs, the default query worker access level is used. If there is no defined default query worker access level, it defaults to *No access*.

**Note**: Requires *administrator* permissions.

## Path parameters

- `user` string, string, required
- `geofabric` string, string, required
- `query-worker` string, string, required

## Response `202`

Successfully cleared query worker access level.

- unknown

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `404`: Failed to find specified fabric, user, or 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)
