Create a Tag

You can use tags when you search and filter Performance tests. The creation response contains a tag identifier that you should note down. You will need the tagID when you want to configure, deploy, or delete this tag later. New tags are also created if they are used in requests and do not exist yet, otherwise it returns 400.

The sample code creates a tag named "workdays" in workspaceId 123456 and the tag is created with a tagId of 888. Use the actual ID value for your workspace.

Create a Tag Request Attributes

Attributes

  • label string

    The name of the tag that can be used in searches and filters

Create a TagMinimum Configuration Sample


curl 'https://a.blazemeter.com/api/v4/workspaces/123456/tags' \
  -X 'POST' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{  "label" : "workdays"  }

The following parameters are the base parameters required to create a tag.

Response201 Created

{
  "api_version": 4,
  "error": null,
  "result": {
    "id": 888,
    "label": "workdays",
    "createdDate": 1658942673,
    "createdBy": "someone@example.com",
    "workspace": 123456
  },
  "request_id": "62e174d163ec9"
}