Delete a tag Experimental; added in 9.5.0

DELETE /api/tags/{id}

Spaces method and path for this operation:

delete /s/{space_id}/api/tags/{id}

Refer to Spaces for more information.

Permanently deletes a tag by ID.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • id string Required

    The tag ID, as returned by the create or search endpoints.

Responses

  • 204

    deleted

  • 403

    forbidden

  • 404

    not found

DELETE /api/tags/{id}
curl \
 --request DELETE 'https://localhost:5601/api/tags/{id}' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: true"