For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deactivate a city

Soft-deletes the city by setting is_active to false. The record is not removed from the database.

A city can be reactivated at any time with PATCH /cities/{id}/ sending {"is_active": true}.

delete
/cities/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the city.

Responses
204

The city was deactivated successfully. No response body.

No content

delete/cities/{id}/
DELETE /api/v1/remote/1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?