PUT /api/v1/users/{user_email}
Update a user. All body fields are optional.
Returns :
Possible messages :
invitation_created
: code 200. The invitation is created,already_invited
: code 400. The email used is already used in an invitation,user_updated
: code 200. The user is successfully updated,mail_already_exists
: code 400. The email is already used by another user or is the same mail as beforeuser_not_found
: code 400. The email was not found in the organization'toDeactivateAt' date must be in the future
: code 400.
Servers
- https://app.360learning.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
user_email |
String | Yes |
user’s mail |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
company |
String | No |
(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
apiKey |
String | No |
(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
lang |
String | No | |
primaryGroupId |
String | No | |
customFields[] |
Array | No | |
customFields[].customField |
String | No | |
customFields[].value |
String | No | |
job |
String | No | |
toDeactivateAt |
String | No | |
lastName |
String | No | |
phone |
String | No | |
firstName |
String | No | |
organization |
String | No | |
mail |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.