Content

Delete a content key from the draft

Stages a delete: the key disappears from the draft, and from the live site after the next publish. Page briefs under _intent/ can be deleted. The site brief and other reserved keys (.dotsy/, .structure/, _data/) cannot (400 reserved_key).

delete/api/v1/sites/{slug}/content/{key}

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}/content/{key}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

slugstring required
Example:acme-studio

Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.

keystring required

Percent-encode each segment; '/' may be sent raw or as %2F. Keys may contain '/'.

Response

Staged for deletion.

oktrue required
writtenstring[] required

The key whose removal was staged. Publish it to make the delete live.

publishedfalse required

Always false: the change is staged in the draft until you publish.

hintstring required

Reminder that the change is staged and how to make it live.

Changes

No recorded changes to this operation across all 1 revision of this API.