Version: 202601
Delete AI card
DELETE/openapi/2026-01/themes/edit-sessions/:oseid/gen-blocks
Delete an AI card and remove it from every page of the theme.
Request
Path Parameters
oseid stringrequired
Edit session ID
Query Parameters
type string
The card_type (blocks/ + file name without extension), e.g. blocks/gen_1a0d523
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
revert_idstring
Token to revert this deletion; one call restores the card and every rewritten container
json
{
"code": "string",
"message": "string",
"data": {
"revert_id": "string"
}
}