Your account
Read your own user and organization, update your profile, or deactivate your account.
x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
The calling principal's user (null for service keys) and organization
application/json- response
user*The calling user, or null for service keys
organization*curl -X GET 'https://api.nuvelics.com/api/tenant/v1/me'{ "user": { "id": "string", "email": "user@example.com", "emailVerified": true, "name": "string", "locale": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0 }, "organization": { "id": "string", "name": "string", "slug": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0, "editorialGuidelines": "string", "mcpEnabled": false, "mcpBlockSelfRegisteredClients": true }}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
application/json- body
name?stringUser display name
1 <= lengthlocale?stringUser's preferred UI locale (BCP 47 language tag)
2 <= lengthProfile updated
application/json- response
id*stringUser identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$email*stringUser email address
emailemailVerified*booleanWhether the email address has been verified
name?stringUser display name
locale*stringUser's preferred UI locale (BCP 47 language tag), e.g. "en"
status*stringUser lifecycle status; deactivated is a soft-delete tombstone
"active""deactivated"createdAt*stringISO 8601 creation timestamp
date-timeupdatedAt*stringISO 8601 last-modified timestamp
date-timeversion*integerMonotonic row version; used as concurrency token
curl -X PATCH 'https://api.nuvelics.com/api/tenant/v1/me' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "email": "user@example.com", "emailVerified": true, "name": "string", "locale": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
Account deactivated; returns the anonymized user record
application/json- response
id*stringUser identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$email*stringUser email address
emailemailVerified*booleanWhether the email address has been verified
name?stringUser display name
locale*stringUser's preferred UI locale (BCP 47 language tag), e.g. "en"
status*stringUser lifecycle status; deactivated is a soft-delete tombstone
"active""deactivated"createdAt*stringISO 8601 creation timestamp
date-timeupdatedAt*stringISO 8601 last-modified timestamp
date-timeversion*integerMonotonic row version; used as concurrency token
curl -X POST 'https://api.nuvelics.com/api/tenant/v1/me/deactivate'{ "id": "string", "email": "user@example.com", "emailVerified": true, "name": "string", "locale": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0}