Delete the CRM integration

Prev Next
Delete
/v2/crm/integrations

Deletes the company's CRM integration and the CRM objects uploaded through it: accounts, contacts, deals, leads and business users. Deletion is asynchronous and can take up to 24 hours.

Send the request without a body, with the header Content-Type: application/json.

To check progress, call GET /v2/crm/request-status with the same integrationId and clientRequestId. Continue polling until status is DONE or FAILED.

Required authorization scope: 'api:crm:integration:delete'.

Query parameters
integrationId
integer (int64) Required

The Gong ID of the integration. Returned when you create the integration.

clientRequestId
stringRequired

An ID you create for this request, unique within the integration. Up to 50 characters: letters, numbers, dashes and underscores. Use it to check the request's status with GET /v2/crm/request-status.

Responses
201

Gong received the deletion request. Gong deletes the integration asynchronously: check its status with GET /v2/crm/request-status.

object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
clientRequestId
string

The clientRequestId you sent. Use it to check the request's status with GET /v2/crm/request-status.

ExampleclientRequest1
400
  • A parameter has the wrong type or format. The error message names the parameter.
  • The company has no CRM integration registered through the API.
  • integrationId isn't the ID of the company's integration. Read the ID as a 64-bit integer, so it isn't rounded.
  • clientRequestId is longer than 50 characters, or has characters other than letters, numbers, dashes and underscores.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
401
  • The API key or access token is missing or isn't valid.
  • The integration uses OAuth, and its token doesn't have the scope this endpoint requires. The error message names the scope.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
409
  • clientRequestId was already used for this integration. Send a new one.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
500
  • Gong couldn't complete the request because of an unexpected error. Try again. If the error continues, contact Gong Support and give them the requestId from the response.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string