Update Identity

PUT {{baseUrl}}/api/v2/users/:user_id/identities/:user_identity_id

This endpoint allows you to:

  • Set the specified identity as verified (but you cannot unverify a verified identity)
  • Update the value property of the specified identity

You can't change an identity's primary attribute with this endpoint. You must use the Make Identity Primary endpoint instead.

Allowed For

  • Agents

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"identity":{"created_at":"2011-07-20T22:55:29Z","deliverable_state":"deliverable","id":35436,"primary":true,"type":"email","updated_at":"2011-07-20T22:55:29Z","user_id":135,"value":"someone@example.com","verified":true}}