Skip to main content
DELETE
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
opportunities
/
{opportunityId}
Delete opportunity
curl --request DELETE \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/opportunities/{opportunityId} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "message": "Opportunity deleted successfully"
  }
}

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Authorization
string
header
required

API key authentication for public API endpoints. This key is scoped by workspace so a unique key is required per workspace within an organisation.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

opportunityId
string
required

Opportunity ID

Response

Opportunity deleted successfully

Response containing a success message

data
object
required

Success message data