Management API / Design
Discard a widget area draft
POST
/api/manage/v1/widgets/areas/{key}/discard-draftAuthorization
AuthorizationheaderrequiredBearer jfk_…: an API key created in Admin → Settings → API.- Required capability
settings:manageThe key and its owner must both hold it. Content scopes on the key are applied to this request as well.
Path parameters
keystringrequiredThe widget area or email template key.
Body
This operation's request body is not described field by field yet. Your site's /api/manage/v1/openapi.json is the live contract.
Response
- 200OK
- 401Missing, unknown, revoked, expired, or out-of-scope key.
- 403The key or its owner lacks the required capability or scope.
- 404No such resource on this site.
- 429Per-key or per-IP rate limit exceeded. Wait for the seconds in
Retry-After.