Update user information using userID

Use this API to update username, profile, and storage region of an existing user.

Path Params
integer
required

Specify the inSync user ID of the user for whom you want to update the username, profile, or storage region. Get the ID of a user using the ‘List all users’ API.

Body Params
string

Specify the new username for the user.

integer

Specify the ID of the new profile that you want to associate with the user account. The new profile settings are applied to the user account in the next backup cycle.Get the profile ID using the 'List all profiles' API. If you are changing user's profile to a profile where the Privacy Settings conflicts with the Privacy Settings in the old profile, which may result in administrators getting an unintentional access to the user's data, inSync does not allow you to update the profile. In such a case, you must request the inSync user to allow the inSync administrators to access their backed up data (setting on inSync Client) and try again.

integer

Specify the ID of the new storage that you want to associate with the user account.Get the storage ID using the 'List all storages' API. After you change the user's storage: 1)User data is backed up to the new storage. 2)Snapshots on the old storage are retained and compacted following the retention policy. 3) User can restore data from snapshots saved on old as well as the new storage.

Responses

400

Bad Request

401

The request did not include an authentication token or an expired authentication token was supplied.

404

The requested resource was not found.

422

The request was well-formed but was not processed due to semantic errors.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json