Skip to content

Delete Content by ID

DELETE
/api/content/{id}

Delete a content item by its ID.

Parameters

Path Parameters

id*
Typestring
Required

Responses

Delete one content item

application/vnd.api+json
JSON
{
"data": {
"type": "content",
"id": "string",
"attributes": {
"urn": "string",
"title": "string",
"body": "string",
"metadata": null,
"owner_type": "string",
"owner_id": "string",
"base_content_id": "string",
"created_at": "string",
"updated_at": "string"
},
"links": {
"self": "string"
}
}
}

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation