# DELETE /gammas/{gammaId}

Delete a Gamma document. Gamma archives it automatically first if needed, then marks it for deletion.

## Delete a Gamma

> Deletes a Gamma document. Requires workspace admin role on the workspace the API key belongs to. The Gamma is auto-archived first if not already archived, so a single call handles the full archive-then-delete transition. The Gamma becomes immediately inaccessible and is removed from all workspace views. After deletion, the Gamma is no longer addressable via the API; subsequent requests for the same ID return the same response as for a non-existent Gamma.

```json
{"openapi":"3.0.0","info":{"title":"Gamma Public API","version":"1.0"},"tags":[{"name":"public-api","description":"Public API endpoints for external integrations"}],"servers":[{"url":"https://public-api.gamma.app","description":"Production"}],"security":[{"api-key":[]}],"components":{"securitySchemes":{"api-key":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication"}},"schemas":{"DeleteGammaResponse":{"type":"object","properties":{"status":{"type":"string","description":"Status of the deletion request. Always `deleted` on success.","enum":["deleted"]},"gammaId":{"type":"string","description":"The ID of the deleted Gamma"},"message":{"type":"string","description":"Customer-facing message confirming the Gamma has been deleted."}},"required":["status","gammaId","message"]}}},"paths":{"/v1.0/gammas/{gammaId}":{"delete":{"description":"Deletes a Gamma document. Requires workspace admin role on the workspace the API key belongs to. The Gamma is auto-archived first if not already archived, so a single call handles the full archive-then-delete transition. The Gamma becomes immediately inaccessible and is removed from all workspace views. After deletion, the Gamma is no longer addressable via the API; subsequent requests for the same ID return the same response as for a non-existent Gamma.","operationId":"deleteGamma","parameters":[{"name":"gammaId","required":true,"in":"path","description":"The unique ID of the Gamma to delete","schema":{"type":"string"}}],"responses":{"200":{"description":"Gamma deleted successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteGammaResponse"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Invalid or missing API key"},"403":{"description":"Access denied - workspace admin role required"}},"summary":"Delete a Gamma","tags":["public-api"]}}}}
```

{% hint style="warning" %}
Deletion requires a workspace admin role on the API key's workspace. A successful response returns `status: deleted`. The Gamma becomes immediately inaccessible and is no longer addressable via the API.
{% endhint %}

## Related

* [GET /generations/{id}](/generations/get-generation-status.md) to retrieve the `gammaId` from a completed generation
* [POST /gammas/{gammaId}/archive](/management/archive-gamma.md) if you want to archive without deleting
* [Error codes](/reference/error-codes.md) for authentication and permission failures


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.gamma.app/management/delete-gamma.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
