POST /gammas/{gammaId}/archive
Archive a Gamma document. Idempotent -- archiving an already archived Gamma succeeds.
Authorizations
X-API-KEYstringRequired
API key for authentication
Path parameters
gammaIdstringRequiredExample:
The unique ID of the Gamma to archive
gamma_abc123Responses
200
Gamma archived successfully
application/json
gammaIdstringRequiredExample:
The ID of the archived Gamma
gamma_abc123archivedbooleanRequiredExample:
Confirmation that the Gamma is archived
true400
Invalid request parameters
401
Invalid or missing API key
403
Access denied - edit permission required
post/v1.0/gammas/{gammaId}/archive
POST /v1.0/gammas/{gammaId}/archive HTTP/1.1
Host: public-api.gamma.app
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"gammaId": "gamma_abc123",
"archived": true
}Example
Behavior
Finding the gammaId
Related
Last updated
Was this helpful?