Skip to main content
PUT
/
users
/
me
{
  "email": "[email protected]",
  "roles": [
    "user"
  ],
  "isEmailVerified": true,
  "firstName": "John",
  "lastName": "Doe",
  "image": "<string>",
  "settings": {
    "theme": "<string>",
    "notifications": {
      "email": true,
      "sms": true,
      "slack": true,
      "webhook": true
    },
    "preferredNotification": "<string>",
    "emailConfig": {},
    "smsConfig": {},
    "slackConfig": {},
    "webhookConfig": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
password
string
Example:

"newpassword123"

firstName
string
Example:

"John"

lastName
string
Example:

"Doe"

image
string
provider
string
providerId
string
isEmailVerified
boolean
roles
enum<string>[]
Available options:
user,
admin,
project_manager,
super_admin
settings
object

Response

The user has been successfully updated.

email
string
required
roles
enum<string>[]
required
Available options:
user,
admin,
project_manager,
super_admin
isEmailVerified
boolean
required
firstName
string
Example:

"John"

lastName
string
Example:

"Doe"

image
string
settings
object