---
title: "Revoke marketplace access"
method: DELETE
path: "/v1/marketplaces/{marketplaceId}/access/{grantId}"
tags: ["Marketplaces"]
---

# Revoke marketplace access

`DELETE /v1/marketplaces/{marketplaceId}/access/{grantId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/marketplaces/{marketplaceId}/access/{grantId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Soft-revokes one marketplace access grant.

## Path parameters

- `marketplaceId` string, typeid, required
- `grantId` string, typeid, required

## Response `204`

Marketplace access revoked successfully.

## Other responses

- `400`: The marketplace access path parameters were invalid.
- `401`: The caller must be signed in to manage marketplace access.
- `403`: The caller lacks permission to manage marketplace access.
- `404`: The access grant could not be found.

## Changes

- **2026-10-01** `df3754993784`: 1 info
  - added the optional property `message` to the response with the `400` status
- **2026-09-11** `bb8ff73e4ad3`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `denApiKey` was added to the API
- **2026-09-04** `d3984673ccd1`: 1 info
  - added the optional property `capability` to the response with the `400` status
- **2026-08-20** `93df40e2efd5`: 2 info
  - removed the pattern `^mag_.*` from the `path` request parameter `grantId`
  - removed the pattern `^mkt_.*` from the `path` request parameter `marketplaceId`

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/marketplaces/:marketplaceId/access/:grantId/delete.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/e6eb4e5ce8a3?raw)
