Delete a specific Collection by id
Security
X-API-KEY or Authorization
ContentCollection object to delete
Mandatory - the type of content collection. Values can be: MENU, PEOPLE, PRODUCTS, SERVICES, or CUSTOM
Enum:"MENU""PEOPLE""PRODUCTS""CUSTOM""SERVICES""EVENTS""FAQ"
Location Ids that should be associated with this collection
Special field for FE indicating if the collection is read-only for the logged in user
Example:false
Only applicable to Menu content collections - indicates the cuisine the restaurant serves
Enum:"AMERICAN""ASIAN""BRAZILIAN""BREAKFAST""BRUNCH""CHICKEN""CHINESE""FAMILY""FAST_FOOD""FRENCH"
- https://uberall.com/apihttps://uberall.com/api/collections/{id}
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/collections/{id}
- X-API-KEY
- Authorization
curl -i -X DELETE \
'https://uberall.com/api/collections/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"id": 0,
"identifier": "string",
"name": "string",
"description": "string",
"type": "MENU",
"contentLists": [
{
"id": 0,
"title": "Lunch Menu",
"type": "MENU",
"description": "string",
"translations": [
{
"hu": {
"title": "Magyar"
},
"fr": {
"title": "Titre Français"
}
}
],
"items": [
{
"title": "string",
"description": "string",
"identifier": "string",
"listName": "string",
"id": 0,
"price": 0,
"currency": "EUR",
"category": "Starters, Drinks, Desert, etc.",
"image": {
"id": 0,
"url": "string",
"type": "LOGO",
"description": "string",
"uid": "string"
},
"url": "string",
"priceMax": 0,
"caloriesLow": 0,
"caloriesHigh": 0,
"allergens": "Eggs, Dairy, Wheat, etc.",
"dietaryRestrictions": "Vegetarian, Halal, etc."
}
]
}
],
"locationIds": [
0
],
"isReadOnly": false,
"cuisineType": "AMERICAN",
"url": "string"
}'Collection deleted
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
Response
{
"status": "SUCCESS",
"message": "string",
"warnings": [
"string"
],
"response": {}
}