Skip to main content
PUT
/
apps
/
geniemap
/
users
/
{id}
Update user
curl --request PUT \
  --url https://api.provident.ae/v2/apps/geniemap/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "password": "<string>",
  "phone": "<string>",
  "avatarId": "<string>"
}
'
{
"statusCode": 401,
"message": "Missing authorization header",
"error": "Unauthorized"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
number
required

Body

application/json
name
string
password
string
phone
string
avatarId
string

Response

Unauthorized - Invalid or missing token

statusCode
number
Example:

401

message
string
Example:

"Missing authorization header"

error
string
Example:

"Unauthorized"