Delete a tag
Removes a tag from every card. The cards are kept. Returns at once; poll the operation for progress. One tag change runs at a time per account.
POST
/v1/tags/deleteAuthorization
AuthorizationBearer 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.
Request body
requiredapplication/jsontagstringrequiredThe tag to delete, matched ignoring case.
max length 64
Responses
202
Tag change started
idstringrequiredkindstringrequiredAllowed:
renamemergedeletefromstringrequiredThe tag being changed, lowercased.
tostring | nullrequiredThe new name (rename) or the tag merged into (merge).
statusstringrequiredAllowed:
runningcompletedfailedtotalnumberrequiredCards 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}.
400
Invalid tag name
404
No card has the tag
409
Another tag change is still running (TAG_OPERATION_RUNNING)