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.
/api/projects/{projectId}/display-name-trait-keyADMIN+. 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
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" }'Regenerate a project's API key POST
OWNER-only. The old key stops working immediately — no grace window. The response carries the new plaintext key for one-time copy.
List the caller's organisations GET
Returns every org the caller is a member of, ordered by creation date ascending — Personal Space (always the oldest) surfaces first. Each entry carries the caller's role + the org's member count.