contacts

Update a contact

Changed on
patch/users/me/contacts/{contactId}

Request

Path parameters

contactIdnumber required

Request body

namestring

Display name

encryptedPayloadstring

The whole contact, sealed by the client. Opaque to the server, and mutually exclusive with name and addresses. Writing it leaves any plaintext on the row untouched.

purgePlaintextboolean

Clear the plaintext name and addresses from the row. Only accepted alongside an encryptedPayload, and irreversible.

Example request

{
  "addresses": {
    "evm": [
      "0x0000000000000000000000000000000000000000"
    ],
    "solana": [],
    "bitcoin": []
  }
}

Response

Updated contact

idnumber required

Contact ID

nameobject nullable required

Display name. Null once the contact is sealed.

createdAtstring required

Creation timestamp (ISO-8601)

encryptedPayloadobject nullable required

The sealed contact, exactly as the client stored it

Example response

{
  "addresses": {
    "evm": [
      "0x0000000000000000000000000000000000000000"
    ],
    "solana": [],
    "bitcoin": []
  }
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status