Actions65
- Order Actions
- Product Actions
- Store Shipping Account Actions
- Delivery Companies API Actions
- Team User Actions
- Store Actions
- State Actions
- Stop Desk Actions
- City Or Municipality Actions
- Store Client Actions
- Store Coupon Actions
- Store Pro Stock Actions
City Or Municipality → Delete City
AI-generatedSummary
Delete a city from Dukan by specifying its MongoDB ObjectId, optionally overriding the default API key and base URL with custom values.
Inputs
- City ID (required) — The MongoDB ObjectId of the city to delete.
- Force Custom Auth Header — Toggle to use a custom API key from this node instead of the node's configured Dukan credentials.
- Custom API Key — The API key to use when Force Custom Auth Header is enabled.
- Force Custom Base URL — Toggle to use a custom Base URL from this node instead of the Base URL in the credentials.
- Custom Base URL — The base URL for API requests if Force Custom Base URL is enabled (exclude the /v1/external suffix).
- Request Options — Additional request settings including batching, SSL certificate validation, proxy settings, and timeout duration.
Output shape
The API response object confirming deletion, or an error message on failure.
Supports batching input items to delete multiple cities sequentially respecting batch size and interval. SSL and proxy request options can modify the HTTP request behavior. The node returns the response from the Dukan API delete city endpoint.
Examples
Example 1: Delete a single city by its ID using configured credentials and base URL.
Set 'City ID' to the target city's ObjectId; leave 'Force Custom Auth Header' and 'Force Custom Base URL' disabled.
Example 2: Delete a city using a custom API key and base URL.
Enable 'Force Custom Auth Header' and 'Force Custom Base URL'; provide 'Custom API Key' and 'Custom Base URL' as needed along with the 'City ID'.