Delete CRM data
Use the deleteTYPE GraphQL mutation to delete entities from the external CRM system.
Example request
The first sample code block illustrates a request to to delete details for a Contact entity.
mutation {
deleteContact(
identity: {
namespace: "salesforce"
id: "0033Y00002pvAjuQAE"
type: "Contact"
} )
{
id
}
}
Example response
The second code block illustrates the corresponding response with a confirmation of the deleted Contact's identity.
{
"data": {
"deleteContact": {
"id": "0033Y00002pvAjuQAE"
}
}
}