Get user profile

GET  /user/me

Overview

Retrieve your user profile.

Response

OK

Expand All

Field

Type

Description

createdAt

string

The date and time the user was created.

email

string

The email address of the user.

id

string

The unique identifier of the user.

name

string

The name of the user.

settings

object

An array of key-value pairs representing the user's settings.

updatedAt

string

The date and time the user was last updated.

{
  "createdAt": "2022-01-01T20:54:47.282Z",
  "email": "user@example.org",
  "id": "us46e9aa-5806-4cd6-8e78-c22d58602d09",
  "name": "Example API User",
  "settings": {
    "key": "value, Cloudcraft UI settings"
  },
  "updatedAt": "2022-01-01T20:54:53.963Z"
}

Unauthorized

Code Example

from cloudcraftco import Cloudcraft

cloudcraft = Cloudcraft()

profile = cloudcraft.read_user_profile()

PREVIEWING: thang.nguyen/thang62590-patch-bt-requirements