Update a workspace's tags

PUT {{baseUrl}}/workspaces/{{workspaceId}}/tags

Updates a workspace's associated tags. This endpoint replaces all existing tags with those you pass in the request body.

Note:

  • You can only add a maximum of five tags to an API.
  • Tags must be between 2 and 64 characters long.

  • Tags must follow the ^[a-z][a-z0-9-]\\\\\*[a-z0-9]+$ pattern.

Request Body

{"tags"=>[{"slug"=>"{{tagName}}"}]}

RESPONSES

status: OK

{"tags":[{"slug":"needs-review"},{"slug":"test-api"}]}