Dozor
Projects

Set the project's default display-name trait key

ADMIN+. The trait key is consulted as step 3 of the 4-step display-name resolution (see `resolveDisplayName`). Pass `null` in `traitKey` to reset.

PATCH/api/projects/{projectId}/display-name-trait-key

ADMIN+. The trait key is consulted as step 3 of the 4-step display-name resolution (see resolveDisplayName). Pass null in traitKey to reset.

Path Parameters

projectId*string

Project id (cuid)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://loading/api/projects/string/display-name-trait-key" \  -H "Content-Type: application/json" \  -d '{    "traitKey": "email"  }'
Empty
Empty
Empty
Empty
Empty