Skip to content

tag/edit

Updates an existing tag.

Method and path

POST /tag/edit

Authentication

Authentication is required. See Authentication.

Permissions

Accessible to tier 1, 2, and 3 users.

Request headers

HeaderRequiredDescription
X-Api-Key or X_API_KEYyesAPI key.
Content-Typeyesapplication/json.

Request body

FieldTypeRequiredDescription
project_idintegeryesProject identifier.
tag_idintegeryesTag identifier.
tag_labelstringyesUpdated tag label.
tag_folder_idintegeryesUpdated folder identifier.
public_tagbooleannoPublic flag. If omitted, the stored value is false.
alert_whitelistbooleannoAlert whitelist flag. If omitted, the stored value is false.

Example request

bash
curl -X POST "$SIGNAL_API_BASE_URL/tag/edit" \
  -H "X-Api-Key: $SIGNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "project_id": 123,
    "tag_id": 456,
    "tag_label": "Updated Tag",
    "tag_folder_id": 8
  }'
json
{
  "project_id": 123,
  "tag_id": 456,
  "tag_label": "Updated Tag",
  "tag_folder_id": 8,
  "public_tag": true,
  "alert_whitelist": false
}

Example response

json
{
  "id": 456,
  "label": "Updated Tag",
  "alert_whitelist": 0,
  "public_tag": 1,
  "folder": {
    "id": 8,
    "label": "Updated Folder"
  }
}

Response fields

FieldTypeDescription
idintegerTag identifier.
labelstringTag label.
alert_whitelistintegerFlag returned as 0 or 1.
public_tagintegerFlag returned as 0 or 1.
folderobjectFolder assigned to the tag after the update.

Notes

  • The response returns the updated tag object.

Doc rev.1.12.3 2026.05.08