Skip to navigation

Delete an opportunity

View as Markdown

Delete an opportunity, along with its opportunity status change activities. This can’t be undone.

The opportunity’s attachments are deleted in the background.

Returns an empty object on success. Returns 404 if the opportunity doesn’t exist, and 400 if you don’t have permission to delete it or don’t have access to its lead.

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error