Update Active User
Description: To update the currently logged in user, a HTTP PUT request is made to the URL with the session token.
Method: PUT
URI: /user/
Parameters:
value name
: A value in the form.
Headers: Authorization: Third party based authorization header
Returns
Field | Type | Description |
---|---|---|
id | Integer | Unique ID of the user. |
agency_id | Integer | Unique ID of the user's agency. |
member_number | String | REINSW member number. |
realtor_number | String | Registered land agent number. |
given_name | String | First name of the user. |
surname | String | Last name of the user. |
String | Email address of the user. | |
mobile | String | Mobile number of the user. |
principal | Boolean | Returns true if user is principal. |
default_private | Boolean | Returns true if forms created by user are private by default. |
active | Boolean | Returns true if the user is active. |
deleted | Boolean | Returns true if the user is deleted. |
created | Timestamp | Returns Unix timestamp of when user was created. |
updated | Timestamp | Returns Unix timestamp of when user was last updated. |
Example
Request
Response