---
title: "Revoke connector consent"
method: DELETE
path: "/auth/connectors/{connector_id}/consent"
tags: ["AuthConnector"]
---

# Revoke connector consent

`DELETE /auth/connectors/{connector_id}/consent`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/auth/connectors/{connector_id}/consent`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/auth/connectors/:connector_id/consent/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete the current user's stored consent for a connector, if any exists.

## Path parameters

- `connector_id` integer, required: ID of the connector to revoke consent for.

## Query parameters

- `cookie_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
