contactDelete

Delete a contact. The contactDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation contactDelete ($id: ID, $code: String) {
  contactDelete (id: $id, code: $code) {
      contact {
        accountId
        code
        createdAt
        customFieldsData
        description
        email
        entityId
        firstName
        fullName
        hasCustomFields
        id
        lastName
        linkedinUrl
        mailingCity
        mailingCountry
        mailingState
        mailingStreet
        mailingZip
        mobile
        phone
        portalAccess
        salutation
        title
        updatedAt
      }
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "code": ""
}
Name Type Description
id ID  
code String  

ResponseLink to Response section

Name Type Description
contact Contact  
errors String