EndpointsRevoke package grant

packages

Revoke package grant

Ends a customer Workspace's access to your Package, which an Offer redemption granted. From then on the Workspace can no longer read, resolve or install any version of it, and redeeming the same Offer again grants nothing. Installs already running keep running unchanged and remain the customer's to delete; they can no longer be updated or have their inputs read. Another Offer for the Package that the Workspace redeems later grants access again; archive the Offers it should not redeem. Retry with the same Idempotency-Key to receive the same answer; a Workspace without a grant answers 404.

DEL/packages/{id}/grants/{workspace_id}
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.

Required string length: 1 - 64

Example: "create-prod-2026-05-07"

idstringrequired

Package ID

Required string length: 1 - 54

Example: "pkg_j572abc123def456"

workspace_idstringrequired

The customer Workspace that holds the grant.

Required string length: 2 - 53

Example: "ws_9177x8shcx0niswcn"

Response

Grant revoked

No response body.