To help you manage your customers’ Workers, use tags to better perform create, read, update, delete (CRUD) operations at scale. Tag user Worker scripts based on user ID, account ID, project ID, and environment. After you tag user Workers, when a user deletes their project, you will be able to delete all Workers associated with that project simultaneously.
You can include script tags and bindings on multipart script uploads in the metadata blob.
Tags API reference
|Method and endpoint||Description|
|Lists tags through a response body of a list of tag strings.|
|Returns true or false where |
|Gets all Worker scripts that have tags that match the filter specified. The filter must be comma separated pairs of tag names to a yes or no value depending if the tag should act as an allowlist or blocklist.|
|Sets the tags associated with the worker to match the tags specified in the body. If there are tags already associated with the Worker script that are not in the request, they will be removed.|
|Adds the single specified tag to the list of tags associated with the Worker script.|
|Deletes the single specified tag from the list of tags associated with the Worker script.|
|Deletes all Worker scripts matching the filter.|