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"
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}Identities
Update Identity
Updates an existing identity’s name, metadata, or credentials.
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"
}{
"error": {
"code": 123,
"message": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>"
}
}Authorizations
API key for your Anchor Browser account, sent as the anchor-api-key header on every
request. Create one at app.anchorbrowser.io (API Access),
or obtain one programmatically via the unauthenticated agent-access flow
(POST /v1/agent-access).
Path Parameters
The ID of the identity to update
Body
application/json
Was this page helpful?

