Skip to content

Delete Several Locations

Request

Delete several locations identified by their uberall unique ids. Locations can be deleted only if they are inactivated (status = INACTIVE) and are no longer billed (endDate < now).

Security
X-API-KEY or Authorization
Query
locationsArray of stringsrequired

The uberall unique ids for the locations you want to delete

curl -i -X DELETE \
  'https://uberall.com/api/locations?locations=string' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Locations successfully deleted

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "deletedCount": 10,
    "failedCount": 2,
    "deletedIds": [
      0
    ],
    "failed": [
      "string"
    ]
  }
}