Skip to content
Get started

Update

users.me.update(**kwargs) -> MeUpdateResponse { user }
PATCH/users/me

Update the current authenticated user.

ParametersExpand Collapse
has_completed_onboarding: bool
ReturnsExpand Collapse
class MeUpdateResponse { user }
user: { id, created_at, email, 5 more}

The current authenticated user.

id: String

The unique identifier of the user.

created_at: untyped

The time the user was created.

email: String

The email address of the user.

first_name: String

The first name of the user.

has_completed_onboarding: bool

Whether the user has completed the onboarding tutorial.

last_name: String

The last name of the user.

organization_id: String

The ID of the organization the user belongs to.

updated_at: untyped

The time the user was last updated.

Update

require "revox"

revox = Revox::Client.new(api_key: "My API Key")

me = revox.users.me.update

puts(me)
{
  "user": {
    "id": "id",
    "created_at": {},
    "email": "email",
    "first_name": "first_name",
    "has_completed_onboarding": true,
    "last_name": "last_name",
    "organization_id": "organization_id",
    "updated_at": {}
  }
}
Returns Examples
{
  "user": {
    "id": "id",
    "created_at": {},
    "email": "email",
    "first_name": "first_name",
    "has_completed_onboarding": true,
    "last_name": "last_name",
    "organization_id": "organization_id",
    "updated_at": {}
  }
}