UpdateUser

This method can be used for the following functionality: Update a users' details.

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

PUT /api/ss/user/:id HTTP/1.1
Host: localhost:3000
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Query

id (string)

Id of the user.

Example:

PUT /api/ss/user/5e5cbecee365f1003f3b20b8 HTTP/1.1

first_name (string) (optional)

First name of the user.

Example:

last_name (string) (optional)

Last name of the user.

Example:

email_address (string) (optional)

Email address of the user.

Example:

username (string) (optional)

Username of the user.

Example:

is_deleted (boolean) (optional)

Whether user is deleted or not.

Example:

Example

The following example is a cURL request to update a users' name and email address.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

Response

Response contains the updated users' details.

Last updated