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

/widget/style/delete

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

It is not possible to delete a style 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 style object that should be deleted.

Response

The response object has the following fields:

Name

Type

Description

id

String

Identifier of the style object that has been deleted.

Example

$ cx.py /widget/style/delete '{"id": "28bcf3aeb4d23db789cf6970473524ae2e98c3c2"}'
{
 "id": "28bcf3aeb4d23db789cf6970473524ae2e98c3c2"
}

Last updated: