update-publication-status action endpoint
URL: /assets/<id>/update-publication-status.<format>
Supported Methods
| POST | Adjust publication status of an asset |
POST Request Object Type
This endpoint accepts the following properties in POST requests:
- draft (boolean)
- A boolean indicating whether the asset is a draft
- publicationDate (string)
- The publication date of the asset
- spam (boolean)
- A boolean indicating whether the asset is spam; Comment only
Client Library Methods for PHP
- Adjust publication status of an asset
$tp->assets->updatePublicationStatus(array( # Required Parameters "id" => $id, "payload" => $payload, ))