getTagByLabel( )


Retrieves a tag by the provided label.

Sub-labels can also be specified using a /. For example, you can have 'dessert/icecream' and 'dessert/pie' as two different tag labels.

Note: The full URL path following labels/ is counted as 1 label. Adding a / to a label does not create multiple labels. This means that 'dessert/icecream' is a single label.

Permissions
Manage Blog
Manage Blog
Read Blog
Read Draft Blog Posts
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
labelstringRequired

Tag label.


optionsGetTagByLabelOptions

Options specifying which additional fields to return.

Returns
Return Type:Promise<GetTagByLabelResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?