PUT Update Tag​
PUT
/tags/{id}
Update an existing tag by its ID. The title field is required. If slug is omitted, it is auto-generated from the title. Alternatively, set id to 0 and pass update_by=slug to find the tag by its slug instead.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Path Parameters
id*
The ID of the tag to update. Pass 0 with update_by=slug to look up by slug instead.
Type
Requiredinteger
Request Body​
application/json
JSON
{
"title": "string",
"slug": "string",
"description": "string",
"update_by": "string"
}
Responses​
Tag updated successfully.
application/json
JSON
{
"lists": 0,
"message": "string"
}