Skip to main content
DELETE
cURL
10 credits per request
Permanently delete one of your portfolios by its ID, including its transactions. Deleting a parent portfolio also deletes all of its child portfolios.
  • portfolioId: Path parameter. Must reference an existing portfolio owned by the authenticated user.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Path Parameters

portfolioId
string
required

Identifier of the portfolio to delete.

Example:

"66c19c585400000000000000"

Response

Portfolio deleted

message
string
required

Confirmation message returned after the portfolio is deleted.

Example:

"Portfolio deleted successfully"