Delete one of tags
Deletes the row for good and returns it as it was.
Access: WordPress core’s own rules for this route decide.
/tags/{id}Optional — this operation also accepts unauthenticated requests.
wordpress_logged_in_{hash}API key · cookieWordPress's logged-in cookie, as a browser holds it after signing in. A request with it must also carry X-WP-Nonce.
X-WP-NonceAPI key · headerA WordPress REST nonce (wp_create_nonce('wp_rest')) for the cookie's session.
AuthorizationBasic auth · headerA WordPress user name and one of the user's application passwords.
AuthorizationBearer token (JWT) · headerA First Identity access token.
idinteger | stringrequiredThe row's id, or slug:<slug>.
The row.
dataWordPressTermrequiredShow propertiesHide properties
idintegernamestring | nullslugstring | nulldescriptionstringparentinteger | nullcountintegerurlstring | nullAn error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.
An error, as an RFC 9457 problem document.
typestringrequiredAlways about:blank: code names the problem.
titlestringrequiredThe problem in a few words.
statusintegerrequiredThe HTTP status.
codestringrequiredA stable name for the problem, such as unauthenticated, forbidden, not_found, invalid_input, invalid_query, invalid_json, method_not_allowed, unique_violation or reference_violation.
detailstringrequiredWhat went wrong, for a person.
pointerstringA JSON pointer to the field of the request at fault, when there is one.