Skip to main content
PATCH
/
v1
/
profile
/
{id}
Update company profile
curl --request PATCH \
  --url https://sgjm-api.vohoangphuc.com/v1/profile/{id} \
  --header 'Content-Type: application/json' \
  --cookie auth_token= \
  --data '
{
  "name": "<string>",
  "country": "<string>",
  "phone": "<string>",
  "address": "<string>",
  "city": "<string>",
  "aboutUs": "<string>",
  "admissionDescription": "<string>",
  "logoUrl": "<string>"
}
'

Authorizations

auth_token
string
cookie
required

JWE token stored in HttpOnly cookie

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
country
string
required
phone
string
address
string
city
string
aboutUs
string
Required string length: 3 - 5000
admissionDescription
string
Required string length: 3 - 5000
logoUrl
string

Response

204

Profile updated successfully