Update a user
Body
Required
-
full_name
string -
email
string -
age
string -
gender
string Values are
male
,female
, orother
. -
phone_number
string -
profile_image_url
string -
type
string -
status
string -
submissions
array[string]
PUT
/users/{id}
curl \
-X PUT localhost:8080/users/{id} \
-H "Content-Type: application/json" \
-d '{"full_name":"string","email":"string","age":"string","gender":"male","phone_number":"string","profile_image_url":"string","type":"string","status":"string","submissions":["string"]}'
Request example
{
"full_name": "string",
"email": "string",
"age": "string",
"gender": "male",
"phone_number": "string",
"profile_image_url": "string",
"type": "string",
"status": "string",
"submissions": [
"string"
]
}
Request examples
{
"full_name": "string",
"email": "string",
"age": "string",
"gender": "male",
"phone_number": "string",
"profile_image_url": "string",
"type": "string",
"status": "string",
"submissions": [
"string"
]
}