Cloud account
/cloud/v1/meMojo Up AI Cloud only. Organisations are listed personal first, then teams by name.
Authorization
cloudSession Mojo Up AI Cloud: a person's access token from /auth/v1/token. Name the organisation with the X-Aioe-Organisation header where a request acts for one.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/cloud/v1/me"{ "id": "string", "name": "string", "email": "string", "organisations": [ { "id": "string", "name": "string", "kind": "personal", "plan": "free", "role": "owner" } ], "signInMethods": [ { "id": "string", "provider": "google", "email": "string", "emailVerified": true, "createdAt": "string", "lastUsedAt": "string" } ]}/cloud/v1/meMojo Up AI Cloud only. Your name as your teams see it, up to 100 characters.
Authorization
cloudSession Mojo Up AI Cloud: a person's access token from /auth/v1/token. Name the organisation with the X-Aioe-Organisation header where a request acts for one.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/cloud/v1/me" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "ok": true}/cloud/v1/meMojo Up AI Cloud only. Deletes the account, every sign-in method, and every organisation only you belong to (your personal organisation, and any team where you are the only person) with everything in them. You leave every other team, and your devices' access to it ends. Refused while you are the only owner of a team that has other people in it. Confirm with your email address (or the word delete if the account has no email). It cannot be undone.
Authorization
cloudSession Mojo Up AI Cloud: a person's access token from /auth/v1/token. Name the organisation with the X-Aioe-Organisation header where a request acts for one.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/cloud/v1/me" \ -H "Content-Type: application/json" \ -d '{ "confirm": "string" }'/cloud/v1/me/sign-in-methods/linkMojo Up AI Cloud only. A five-minute ticket to pass as link to /auth/v1/start or /auth/v1/email/start, so the new method joins your account instead of signing you in.
Authorization
cloudSession Mojo Up AI Cloud: a person's access token from /auth/v1/token. Name the organisation with the X-Aioe-Organisation header where a request acts for one.
In: header
Response Body
application/json
application/json
curl -X POST "https://example.com/cloud/v1/me/sign-in-methods/link"{ "ticket": "string", "expiresIn": -9007199254740991}/cloud/v1/me/sign-in-methods/{methodId}Mojo Up AI Cloud only. You cannot remove your only way to sign in.
Authorization
cloudSession Mojo Up AI Cloud: a person's access token from /auth/v1/token. Name the organisation with the X-Aioe-Organisation header where a request acts for one.
In: header
Path Parameters
The sign-in method's id, from GET /cloud/v1/me.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/cloud/v1/me/sign-in-methods/string"