Fracttal →

Update user accounts

This web service can be used to update user accounts, enabling and disabling them.

Body parameters

ParameterTypeRequiredDescription
activeBooleanOptionaltrue to enable the user, false to disable the user
user_codeTextYesCode of the human resource who will update the account in Fracttal

Output parameters

ParameterTypeDescription
idNumberAccount ID
nameTextUser's name
emailTextUser's email
activeBooleanUser active. Values: true or false
user_typeTextUser type:

HUMAN_RESOURCES: Human Resources THIRD_PARTIES: Third Party
enable_notificationsBooleanFractal notifications activated
only_ssoBooleanValue 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

Language