Skip to main content

Update user profile

Update user profile.

Request Body
    firstName string required

    The first name of the user.

    lastName string required

    The last name of the user.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message

    Possible values: [User has been updated successfully.]

PUT /v1/users/profile

Authorization

name: x-auth-tokentype: apiKeyin: headerdescription: The JWT access token required for accessing the endpoints.
name: x-client-idtype: apiKeyin: headerdescription: Your client id

Request

Base URL
https://apis-prelive.quran.foundation/auth
x-auth-token
x-client-id
Body
{
"firstName": "Amer",
"lastName": "Abbas"
}
curl / cURL
curl -L -X PUT 'https://apis-prelive.quran.foundation/auth/v1/users/profile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>' \
--data-raw '{
"firstName": "Amer",
"lastName": "Abbas"
}'