dogabot dogabot Documentation

Delete a portfolio

delete https://api.dogabot.com/api/v1/portfolios/{id}

Deletes an owned portfolio (requires confirm_delete). Requires the listed write scope and feat:api:write on an Institutional account. Send Idempotency-Key.

Scopes write:automation write

Path parameters

id integer required
Example 42

Headers

Idempotency-Key string required

Unique key per mutation so retries stay safe.

Example retry-1

Body parameters

application/json required

JSON Example body
{
  "confirm_delete": true
}

Responses

200 OK
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited