What You’ll Learn
- Listing, filtering, and retrieving tag information
- Creating, updating, and deleting tags
- Retrieving sites and clients associated with tags
mainwp/list-tags-v1
List MainWP tags with pagination and filtering. Method: GET (readonly)
Response:
mainwp/get-tag-v1
Get detailed information about a single tag. Method: POST
Response:
mainwp/add-tag-v1
Create a new tag. Method: POST
Response:
mainwp/update-tag-v1
Update an existing tag. Method: POST
Response:
Returns the updated tag object.
mainwp/delete-tag-v1
Delete a tag. This is a destructive operation that requires confirmation. Method: POST
Response:
mainwp/get-tag-sites-v1
Get sites associated with a tag. Method: POST
Response:
mainwp/get-tag-clients-v1
Get clients associated with a tag (clients whose sites have this tag). Method: POST
Response:
Related Resources
- Abilities API Overview - API basics and authentication
- Sites Abilities - Site management abilities
- REST API Tags - REST API alternative for tags
