Skip to main content
PUT
/
v1
/
identities
/
{identityId}
curl --request PUT \
  --url https://api.anchorbrowser.io/v1/identities/{identityId} \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '
{
  "name": "Updated Account Name"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "metadata": {},
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

identityId
string<uuid>
required

The ID of the identity to update

Body

application/json
name
string

Name of the identity

metadata
object

Metadata for the identity

credentials
(username_password · object | authenticator · object | custom · object)[]

Array of credentials for authentication

Response

Identity updated successfully

id
string<uuid>

Unique identifier for the identity

name
string

Name of the identity

metadata
object

Metadata associated with the identity

updated_at
string<date-time>

Timestamp when the identity was last updated