add-category action endpoint
URL: /assets/<id>/add-category.<format>
Supported Methods
| POST | Send label argument to add a category to an asset |
POST Request Object Type
This endpoint accepts the following properties in POST requests:
- category (string)
- (Required) The category to add.
Client Library Methods for PHP
- Send label argument to add a category to an asset
$tp->assets->addCategory(array( # Required Parameters "id" => $id, "payload" => $payload, ))