Update Profile
Testing
PUT
/client/profile
update_profile
Last modified:2025-02-06 08:23:14
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-core.deriv.com/v1/client/profile' \
--header 'Authorization: {{CLIENT_AUTH_TOKEN}}' \
--header 'x-client-id: {{RL_EXCLUSION_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "API",
"last_name": "doge",
"residence_country": "in",
"account_opening_reason": "hedging",
"tax_residence_country": "in",
"birth_country": "in",
"tax_identification_number": "UX-1989389",
"citizen_country": "in",
"employment_status": "retired",
"date_of_birth": "1969-09-19",
"gender": "male",
"reason": "api test"
}'
Response Response Example
200 - Success
{
"data": [
{
"client_id": 79,
"address_id": null,
"first_name": "API",
"last_name": "doge",
"date_of_birth": "1969-09-19",
"birth_country": "in",
"account_opening_reason": "hedging",
"employment_status": "retired",
"residence_country": "in",
"citizen_country": "in",
"tax_residence_country": "in",
"tax_identification_number": "UX-1989389",
"gender": "male",
"staff_identifier": null,
"reason": "api test",
"created_time": "2024-11-06T03:42:29.865314",
"updated_time": "2024-11-07T03:21:11.595411"
}
],
"meta": {
"endpoint": "/client/profile",
"method": "PUT",
"timing": 1311
}
}
Request
Header Params
Authorization
stringÂ
optional
Example:
{{CLIENT_AUTH_TOKEN}}
x-client-id
stringÂ
optional
Default:
{{RL_EXCLUSION_KEY}}
Body Params application/json
Responses
Modified at 2025-02-06 08:23:14