Actions34
- Account Actions
- Confirmation Actions
- Market Actions
- Order Actions
- Position Actions
- Session Actions
- Watchlist Actions
Position → Close
AI-generatedSummary
Closes the Capital.com position identified by its deal ID by sending a DELETE request. Returns the API response with deleted: true added.
Inputs
- Deal ID (required) — The position deal ID to close.
Output shape
A single record
Contains the API response fields plus
deleted: true.