Delete a draft opportunity

DELETE
/opportunities/{opportunityId}

Permanently delete a draft opportunity. Only valid when the opportunity is in draft status.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

opportunityId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://terac.com/api/external/v2/opportunities/string"
{
  "id": "string",
  "deleted": true
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}