Update a tag in the workspace.
PHP
declare(strict_types=1); require 'vendor/autoload.php'; use Dub; $sdk = Dub\Dub::builder() ->setSecurity( 'DUB_API_KEY' ) ->build(); $response = $sdk->tags->update( id: '<id>', requestBody: $requestBody ); if ($response->tagSchema !== null) { // handle response }
{ "id": "<string>", "name": "<string>", "color": "red" }
Default authentication mechanism
The ID of the tag to update.
The updated tag.
The response is of type object.
object
Was this page helpful?