We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

/widget/template/delete

Delete a content widget template object. (See API authentication for general information how to use these APIs.)

It is not possible to delete a template object that is currently in use (by a widget object).

Request

The request object has the following fields:

Name

Type

Required

Description

id

String

Yes

Identifier of the template object that should be deleted.

Response

The response object has the following fields:

Name

Type

Description

id

String

Identifier of the template object that has been deleted.

Example

$ cx.py /widget/template/delete '{"id": "0c91da2fc94b4c5729deb9cdb0e6fd661cf6c9e1"}'
{
 "id": "0c91da2fc94b4c5729deb9cdb0e6fd661cf6c9e1"
}

Last updated: