Skip to content

Withdraws a basket requests

DELETE
/api/baskets/{basketId}/requests

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

basketId*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

Success

application/json
JSON
{
"id": 0,
"description": "string",
"pictures": [
"string"
],
"contactTypes": [
[
]
],
"mobile": "string",
"telephone": "string",
"lat": 0,
"lon": 0,
"lifeTimeInDays": 0,
"weightInGrams": 0,
"status": 0,
"location": {
"lat": 52.5,
"lon": 13.4
},
"creator": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"created": "string",
"updated": "string",
"until": "string",
"requestCount": 0
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python