Radicas Docs
API referenceGenerated

Update Me

PATCH
/me

Self-service profile edit. Sets only the caller's display name — email/tenant/role stay bound to the verified identity and are never client-editable. This is the path for users who signed in without an invite (their profile is auto-provisioned; the name starts empty).

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/me" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "subject": "string",  "tenant_id": "string",  "email": "string",  "name": "string",  "roles": [    "string"  ],  "org_name": "string",  "is_staff": true,  "memberships": [    {      "tenant_id": "string",      "role": "string",      "org_name": "string"    }  ],  "onboarding": {    "has_account": true,    "has_active_key": true,    "has_data": true,    "discovered_features": 0  }}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}