Ricky logorickyDocs

Delete a location

DELETE
/knowledge/locations/{location_id}

Deletes it for good and answers it as it was.

Scope: knowledge:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An organization API key, rky_live_…, created in Settings → API. Send it only from a server.

location_id*string

Location ID.

Formatuuid

Response Body

Success.

application/json
  1. response
data*

A branch or place the agents can send as a WhatsApp location.

curl -X DELETE 'https://getricky.ai/api/v1/knowledge/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",    "name": "Casa Nativa Albrook",    "address": "Albrook Mall, local 214, Panamá",    "latitude": 8.9733,    "longitude": -79.5511,    "street": "Albrook Mall, local 214",    "city": "Panamá",    "state": "Panamá",    "postal_code": null,    "country": "Panamá",    "country_code": "PA",    "phone": "+50760000000",    "email": "albrook@example.com",    "hours": "Lunes a sábado, 10:00 a 20:00"  }}