Create the current user's account.
The console's sign-up page calls this once the person is back from their identity provider. It makes the account, records the Terms acceptance the sign-up page asked for, and returns the profile. The only call that makes an account. Safe to repeat: for a caller who already has an account it creates nothing and returns their profile.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Header Parameters
Optional Mixpanel anonymous distinct_id captured by the browser SDK before sign-in, aliased into the new person's profile when this call creates it.
Response Body
curl -X POST "https://api.fruxon.com/v1/users/me:signUp"{
"id": "string",
"username": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"avatarFileId": "string",
"status": "INVITED",
"role": "ADMIN",
"effectiveScopes": [
"string"
],
"canCreateWorkspace": false,
"canChooseCell": false,
"canCreatePersonalWorkspace": false,
"solutionPartners": [
{
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "string",
"role": "ADMIN",
"status": "APPLIED",
"canProvision": false
}
],
"staffRole": "SUPPORT",
"identityProviderIssuer": "string",
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Sign out everywhere.
Ends every console session the caller has begun, on every device, including the one making this call. From then on the API answers any of those sessions with `401 {"error": "session_revoked"}`, and Firebase stops refreshing them. The caller should sign out locally when this succeeds; signing in again starts a session that is unaffected. Takes effect at once on the instance that answers, and on every other API instance within a minute. Personal access tokens and CLI keys are not affected: revoke those on their own page. Call it on the bootstrap host, like the rest of `users/me`. A 5xx after the revocation was recorded means Firebase could not be confirmed to have stopped refreshing the old sessions. The API refuses them regardless, but the caller's own session is refused too, so to complete the revocation, sign in again and repeat the call. The later instant covers the earlier one.
Get what the current user must accept, and whether they have.
Called on sign-in. `accepted: false` is the signal to show the acceptance prompt; nothing else needs to be interpreted. An environment with no published document set configured reports `accepted: true` with no documents, so a missing configuration cannot lock anyone out.