---
title: "User profile update"
url: "https://help.internetx.com/en/api/core-user-profile-update/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks > User tasks"
updated: "2023-09-19"
---

# User profile update

## Function

The _UserprofileUpdate_ task changes the data of a user profile.

## Description

Route: PUT ​/user​/{name}​/{context}​/profile  

```
{
  "profiles": [
    {
      "key": "domain_adminc",
      "value": 12739021,
      "flag": "OPTIONAL",
      "inherited": false,
      "readonly": false
    },
    {
      "key": "domain_techc",
      "value": 12739021,
      "flag": "OPTIONAL",
      "inherited": false,
      "readonly": false
    },
  ]
}
```

```
{
  "stid": "20210303-app-84093",
  "status": {
    "code": "S1301014",
    "text": "Profile data has been successfully updated.",
    "type": "SUCCESS"
  }
}
```

Task code: 1301014  
Uses [Profile](/en/api/core-profile-object/) object

```
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<task>
		<code>1301014</code>
		<profile>
			<name>domain</name>
			<item>
				<key>nserver1</key>
				<value>ns1.example.net</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>nserver2</key>
				<value>ns2.example.net</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>ownerc</key>
				<value>123456</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>adminc</key>
				<value>123456</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>techc</key>
				<value>123456</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>zonec</key>
				<value>123457</value>
				<flag>OPTIONAL</flag>
			</item>
			<item>
				<key>zone_nsaction</key>
				<value>complete</value>
				<flag>OPTIONAL</flag>
			</item>
		</profile>
	</task>
</request>
```

```
<response>
    <result>
        <data/>
        <status>
            <code>S1301014</code>
            <text>Profile data has been successfully updated.</text>
            <type>success</type>
        </status>
    </result>
    <stid>20211104-app-5052</stid>
</response>
```
