---
title: "revoke a grant to a private, non-custom sourceDefinition from a given workspace"
method: POST
path: "/v1/source_definitions/revoke_definition"
tags: ["source_definition"]
---

# revoke a grant to a private, non-custom sourceDefinition from a given workspace

`POST /v1/source_definitions/revoke_definition`

## Request body

- SourceDefinitionIdWithWorkspaceId
  - `sourceDefinitionId` string, uuid, required
  - `workspaceId` string, uuid, required

## Response `204`

The resource was deleted successfully.

## Other responses

- `404` — Object with given id was not found.
- `422` — Input failed validation

---

[API](https://skmtc.net/airbyte/apis/config.md) · [All operations](https://skmtc.net/airbyte/apis/config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airbyte/config/revisions/ce48e08e02ec/schema)
