Decode the tag_id query parameter and load the tag.
2.
The record must exist, be published, and be a static customer tag; dynamic tags cannot be deleted through this endpoint.
3.
Delete the tag entity through the normal entity lifecycle, so the module's normal deletion hooks and downstream cleanup apply. A successful response confirms the deleted encoded ID.
Invalid/missing IDs, missing or unpublished tags, and non-static tag types return a client error. Bearer authentication and this endpoint's REST permission are required.