← Back to listing
DELETE/api/v1/opportunities/{id}

Delete Opportunity

Deletes an opportunity by ID.

Authentication

Send your API key in the x-api-key header.

x-api-keybearer

Parameters

idrequired

path · string

Opportunity ID to delete.

Responses

200

PublicApiDeleteOpportunityResponseDto

statusCoderequired

number

countrequired

number

errorrequired

string

datarequired

boolean

Example response

json
{
  "statusCode": 200,
  "count": 0,
  "error": null,
  "data": false
}
401Unauthorized - missing or invalid API key or Bearer token