put https://app.fracttal.com/api/accounts/
This web service can be used to update user accounts, enabling and disabling them.
Body parameters
Parameter | Type | Required | Description |
---|---|---|---|
active | Boolean | Optional | true to enable the user, false to disable the user |
user_code | Text | Yes | Code of the human resource who will update the account in Fracttal |
Output parameters
Parameter | Type | Description |
---|---|---|
id | Number | Account ID |
name | Text | User's name |
email | Text | User's email |
active | Boolean | User active. Values: true or false |
user_type | Text | User type: HUMAN_RESOURCES: Human Resources THIRD_PARTIES: Third Party |
enable_notifications | Boolean | Fractal notifications activated |
only_sso | Boolean | Value indicating whether you have Single Sign On (SSO) authentication only, |
Example:
Request: **(PUT) https://app.fracttal.com/api/accounts/72
{
"active": false,
"user_code": "25198772-2",
}
{
"success": true,
"message": "200",
"data": {
"id": 72,
"id_company": 69,
"email": "[email protected]",
"name":"Usuario solo solicitudes",
"active": true,
"enable_notifications": true,
"only_sso": false
},
"total": 1
}
Test It