REST API V3 / Tags / Delete
URL
DELETE /wp-json/gh/v3/tags
Method
This endpoint supports the DELETE
method.
Request
To delete a tag you must pass these arguments.
PARAM | TYPE | REQUIRED | DESCRIPTION |
tag_id |
int | yes | The ID of the tag to delete. |
Example
Here is an example of the DELETE
request to URI.
http://yoursite.com/wp-json/gh/v3/tags?tag_id=5
Response
Successful deletion of the tag returns the following response.
{ "status": "success" }