Update a face

Change a face. Send only the parts you want to change. Sending `views` replaces the whole set, so include every variant you want to keep. Each one still needs exactly one of a design or a link, and the same size and format rules apply. A change is live at once: every object wearing this face looks different on the next page load. Preview first with `POST /faces/{faceId}/preview`. Requires the `faces.update` permission.

PATCH
/faces/{faceId}
AuthorizationBearer <token>

The access token returned after a successful sign-in, sent as Authorization: Bearer <access_token>.

It identifies the person and the organization they are working in, and it lasts about fifteen minutes. When it runs out, use their refresh token at POST /auth/refresh-token instead of asking them to sign in again.

In: header

Path Parameters

faceId*string

Identifier of the face.

Request Body

application/json

The parts of the face to change.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.dual.network/faces/665f1c2d4b1a2c3d4e5f6a50" \  -H "Content-Type: application/json" \  -d '{    "name": "Festival wristband 2026"  }'
{}
{
  "code": 3,
  "message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}

{
  "code": 16,
  "message": "no auth provided"
}

{
  "code": 13,
  "message": "internal error"
}