Update association info

PATCH {{baseUrl}}/api/v1/accountContactMapping/:mapping_id

This API updates the details of an account-contact mapping.

OAuth Scope

  • Desk.contacts.UPDATE

Attributes

Attribute NameData TypeDescription
isAccountTicketsViewable<Boolean>
Key that specifies whether the contact can access all tickets related to the account
mappingType<String>
Type of mapping connection between the contact and the account. Value allowed is PRIMARY, which sets the account as the primary account of the contact.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;mappingId&quot;:&quot;4000000023057&quot;,&quot;accountId&quot;:&quot;4000000022101&quot;,&quot;contactId&quot;:&quot;4000000020714&quot;,&quot;mappingType&quot;:&quot;PRIMARY&quot;,&quot;isAccountTicketsViewable&quot;:false}