curl --request PUT \
--url https://api.gleap.io/v3/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"userRole": "<string>",
"knewGleapFrom": "<string>",
"userUsage": "<string>",
"profileImageUrl": "<string>",
"completedOnboarding": true,
"oldpassword": "<string>",
"available": true,
"unavailableProjects": [
"<string>"
],
"notificationPreferences": "<any>",
"notificationSettings": "<any>"
}'
"<any>"
Update user.
curl --request PUT \
--url https://api.gleap.io/v3/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"userRole": "<string>",
"knewGleapFrom": "<string>",
"userUsage": "<string>",
"profileImageUrl": "<string>",
"completedOnboarding": true,
"oldpassword": "<string>",
"available": true,
"unavailableProjects": [
"<string>"
],
"notificationPreferences": "<any>",
"notificationSettings": "<any>"
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Ok
The response is of type any
.