Tags

Merge a tag into another

POST
/tags/{tag_id}/merge

Moves every asset link of a tag owned by the caller onto the target tag and hides the source tag. This cannot be undone.

Authorization

token_auth
headerAuthorizationBearer <token>

Token-based authentication using access tokens.

Path Parameters

tag_id*string

Request Body

application/json
  1. body
into_tag_id*Into Tag Id

Tag that receives every asset link of the source tag.

Response Body

Successful Response

application/json
  1. response
tag*

The target tag, with its usable asset count.

moved*Moved

Number of new asset links added to the target tag.

curl -X POST "https://example.com/tags/string/merge" \  -H "Content-Type: application/json" \  -d '{    "into_tag_id": "string"  }'
{  "tag": {    "id": "string",    "name": "string",    "color": "string",    "created_by": "string",    "created_at": "string",    "asset_count": null,    "preview_thumbnails": null  },  "moved": 0}