users

Update User Me

Update current user.

put/api/v1/users/me

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/users/me
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Request body

emailstring email nullable

User email address

passwordstring nullable

User password (minimum 8 characters)

Example request

{
  "email": "newemail@example.com",
  "password": "newsecurepassword123"
}

Response

Successful Response

emailstring email required

User email address

idinteger required

User ID

rolesstring[]

User roles

is_verifiedboolean

Whether the user has verified their email address (soft-gate driver).

created_atstring date-time required

Creation timestamp

updated_atstring date-time nullable

Last update timestamp

Example response

{
  "email": "user@example.com",
  "id": 1,
  "roles": [
    "user"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.