Skip to main content
PUT
/
api
/
user
/
me
Update this session user
curl --request PUT \
  --url https://localhost:8080/api/user/me \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "password": "<string>",
  "fullName": "<string>",
  "phoneNumber": "<string>",
  "street": "<string>",
  "city": "<string>",
  "province": "<string>",
  "postalCode": "<string>",
  "expertise": "apprentice",
  "role": "farmer",
  "active": true
}'
{
  "id": 123,
  "email": "<string>",
  "fullName": "<string>",
  "phoneNumber": "<string>",
  "street": "<string>",
  "city": "<string>",
  "province": "<string>",
  "postalCode": "<string>",
  "expertise": "apprentice",
  "role": "farmer",
  "active": true
}

Body

application/json
email
string
required
fullName
string
required
phoneNumber
string
required
password
string
street
string
city
string
province
string
postalCode
string
expertise
enum<string>
Available options:
apprentice,
adept,
expert
role
enum<string>
Available options:
farmer,
receptionist,
sprayer,
admin
active
boolean

Response

200 - */*

OK

id
integer
email
string
fullName
string
phoneNumber
string
street
string
city
string
province
string
postalCode
string
expertise
enum<string>
Available options:
apprentice,
adept,
expert
role
enum<string>
Available options:
farmer,
receptionist,
sprayer,
admin
active
boolean
I