Update a Tag

To update the name or description of an existing tag, you need to know the tag identifier. The sample code uses a tagId of 888. Use the actual ID value of your tag.

 

Minimum Parameters for Updating a Tag

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

Update a TagMinimum Configuration Sample


curl 'https://mock.blazemeter.com/api/v1/tags/888' \
   -X PUT \
   -H 'accept: */*' \
   -H 'Content-Type: application/json' \
   -d '{ "description": "task tracker", "id": 888, "name": "tasks"}'

Update a Tag Request Attributes

Attributes

  • description string

    required

    The description of the tag

  • id integer

    required

    The identifier of the tag

  • name string

    The name of the tag

Response201 Created

{
  "apiVersion": 0,
  "error": "string",
  "limit": 0,
  "link": "string",
  "requestId": "string",
  "result": {
    "created": "2019-07-26T13:42:48.750Z",
    "createdBy": "somebody@example.com",
    "description": "task tracker",
    "id": 888,
    "name": "tasks",
    "updated": "2019-07-26T13:42:48.750Z",
    "updatedBy": "somebody@example.com"
  },
  "skip": 0,
  "total": 0
}