Delete Tag
Deletes a tag by UUID. Returns the tag data before removal.
OpenAPI definition
{
"openapi": "3.1.0",
"info": {
"title": "Fishbowl Public API",
"version": "1.0",
"description": "The Fishbowl Public API provides programmatic access to manage guests, loyalty programs, subscriptions, tags, and more within the Fishbowl GRM platform."
},
"servers": [
{
"url": "https://api.fishbowl.com"
}
],
"components": {
"securitySchemes": {
"ApiKeyAuth": {
"type": "apiKey",
"in": "header",
"name": "X-API-Key",
"description": "Your Fishbowl API key for authentication and rate limiting."
}
},
"parameters": {
"ClientUuid": {
"name": "X-Delightable-Client-Uuid",
"in": "header",
"required": true,
"description": "Identifies the client context.",
"schema": {
"type": "string",
"format": "uuid"
}
},
"UuidPath": {
"name": "uuid",
"in": "path",
"required": true,
"description": "Resource UUID.",
"schema": {
"type": "string",
"format": "uuid"
}
}
},
"schemas": {
"ApiResponse": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {},
"errors": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"error_code": {
"type": "integer",
"nullable": true
},
"total": {
"type": "integer",
"nullable": true
},
"cache_hit": {
"type": "boolean"
}
}
}
}
},
"security": [
{
"ApiKeyAuth": []
}
],
"tags": [
{
"name": "Tag API",
"description": "Manage tags, tag categories, and tag groups."
}
],
"paths": {
"/api/public/tag/{uuid}": {
"delete": {
"summary": "Delete Tag",
"description": "Deletes a tag by UUID. Returns the tag data before removal.",
"operationId": "deleteTag",
"tags": [
"Tag API"
],
"parameters": [
{
"$ref": "#/components/parameters/UuidPath"
},
{
"$ref": "#/components/parameters/ClientUuid"
}
],
"responses": {
"200": {
"description": "Deleted tag data.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiResponse"
}
}
}
},
"400": {
"description": "Tag not found."
}
}
}
}
}
}