leadDelete

Graphql fields and variables for the leadDelete mutation

Delete a lead

Scope required: standard:write

mutation leadDelete ($id: ID!) {
  leadDelete (id: $id) {
      errors
      lead {
        accountId
        accountTypeId
        city
        company
        companyOrFullName
        converted
        convertedAt
        country
        createdAt
        description
        email
        employees
        entityId
        firstName
        fullName
        groupId
        id
        industryId
        lastName
        leadSourceId
        leadStatusId
        linkedinUrl
        mobile
        ownerUserId
        phone
        revenue
        state
        street
        title
        updatedAt
        website
        zip
      }
  }
}

Arguments

{
  "id": "456123"
}
Name
Type
Description

id

ID

Response

Name
Type
Description

errors

List (String)

lead

Last updated

Was this helpful?