Domina REST API
  1. User
Domina REST API
  • Documentation
  • Auth
    • registration
      POST
    • login
      POST
    • logout
      POST
    • password-reset/initiate
      POST
    • password-reset/verify
      POST
    • password-reset/complete
      POST
  • User
    • Booking
      • index
    • LoyaltyCard
      • show
    • LoyaltyPoints
      • index
    • Tikets
      • index
      • show
      • create
      • update
    • show
      GET
    • update
      PATCH
  • Venue
    • index
      GET
    • show
      GET
    • facets
      GET
  • Page
    • show
      GET
  • Post
    • index
      GET
    • show
      GET
  • Property
    • index
      GET
    • show
      GET
  • Program
    • index
      GET
  • Location
    • index
  • Navigation
    • index
  • Awards
    • index
  • Request
    • create
  • Spa
    • index
    • show
  • Special
    • index
    • show
  • Schemas
    • Meta
      • MetaPagination
      • MetaFile
      • MetaImage
      • MetaImageData
    • Response
      • ResponseError
    • Page
    • Property
    • Program
    • Venue
    • Special
    • Spa
    • Post
    • Navigation
    • Location
    • Tag
    • Award
    • User
    • Booking
    • LoyaltyCard
    • LoyaltyLevel
    • LoyaltyPoint
    • Ticket
    • TicketComment
  1. User

update

Developing
PATCH
/v1/user
Изменение данных авторизированного пользователя

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or
Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

🟠401Unauthorized
🟠429Too many requests
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/v1/user' \
--header 'Authorization: Bearer <token>' \
--form 'email=""' \
--form 'phone=""' \
--form 'name_first=""' \
--form 'name_middle=""' \
--form 'name_last=""' \
--form 'birth_day=""' \
--form 'birth_month=""' \
--form 'birth_year=""' \
--form 'sex=""'
Response Response Example
200 - Example 1
{
    "id": "string",
    "created": "string",
    "email": "string",
    "email_confirmed": true,
    "phone": "string",
    "sex": 0,
    "name_first": "string",
    "name_middle": "string",
    "name_last": "string",
    "birth_day": 0,
    "birth_month": 0,
    "birth_year": 0
}
Modified at 2025-10-22 12:18:26
Previous
show
Next
Venue
Built with