Merge a tag into another
Replaces a tag with another on every card; a card that has both keeps one. Returns at once; poll the operation for progress. One tag change runs at a time per account.
/v1/tags/mergeAuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequiredBearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.
application/jsonfromstringrequiredThe tag to merge away, matched ignoring case.
intostringrequiredThe tag to keep.
Tag change started
idstringrequiredkindstringrequiredrenamemergedeletefromstringrequiredThe tag being changed, lowercased.
tostring | nullrequiredThe new name (rename) or the tag merged into (merge).
statusstringrequiredrunningcompletedfailedtotalnumberrequiredCards carrying the tag when the change started (counted up to 10000).
processednumberrequiredCards looked at so far.
changednumberrequiredCards rewritten so far.
errorstring | nullrequiredcreatedAtnumberrequiredupdatedAtnumberrequiredcompletedAtnumber | nullrequiredoperationIdstringrequiredPoll GET /v1/tags/operations/{operationId}.
Invalid tag name
No card has the tag
Another tag change is still running (TAG_OPERATION_RUNNING)