User

Used to interact with the properties of the current user.

Get User

Returns all attributes of the current user.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Responses
200

Returns the response for Session wrapped User object.

401

Request was not successful

403

Request was not successful

404

Request was not successful

get/v1/me
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Update User

Update the current user with the given attributes.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
Request Body schema: application/x-www-form-urlencoded
username
string or null
first_name
string or null
last_name
string or null
primary_email_address_id
string or null
primary_phone_number_id
string or null
primary_web3_wallet_id
string or null
unsafe_metadata
string or null

A stringified JSON containing the unsafe medata of the current user.

Responses
200

Returns the response for Session wrapped User object.

400

Request was not successful

401

Request was not successful

403

Request was not successful

404

Request was not successful

422

Request was not successful

patch/v1/me
Request samples
application/x-www-form-urlencoded
username=string&first_name=string&last_name=string&primary_email_address_id=string&primary_phone_number_id=string&primary_web3_wallet_id=string&unsafe_metadata=string
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Delete User

Delete the current user.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Responses
200

Returns a Deleted User object.

401

Request was not successful

403

Request was not successful

404

Request was not successful

500

Request was not successful

delete/v1/me
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Update Profile Image

Update the current user's profile image.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
Request Body schema:
required
file
string <binary>
Responses
200

Returns an Image object.

400

Request was not successful

401

Request was not successful

422

Request was not successful

post/v1/me/profile_image
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Delete Profile Image

Remove the current user's profile image.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Responses
200

Returns a Deleted User object.

401

Request was not successful

404

Request was not successful

delete/v1/me/profile_image
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Update Password

Update the current user's password.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
Request Body schema: application/x-www-form-urlencoded
current_password
string or null
new_password
string
sign_out_of_other_sessions
boolean or null
Responses
200

Returns the response for Session wrapped User object.

400

Request was not successful

403

Request was not successful

422

Request was not successful

post/v1/me/change_password
Request samples
application/x-www-form-urlencoded
current_password=string&new_password=string&sign_out_of_other_sessions=true
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Delete Password

Removes the current user's password.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
Request Body schema: application/x-www-form-urlencoded
required
current_password
string
Responses
200

Returns the response for Session wrapped User object.

400

Request was not successful

422

Request was not successful

post/v1/me/remove_password
Request samples
application/x-www-form-urlencoded
current_password=string
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}