🔶 This API activates or deactivates a user account, controlling their access to the system. When deactivated, the user's data is retained for future reference or potential reactivation.
Status Value | Description |
---|---|
Active | The user account is active and can access the system. |
Inactive | The user account is deactivated and cannot access the system, but their data is retained for future use. |
curl --location --request POST 'https://apiv3.imocha.io/v3/accounts/user/status' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"status": "string"
}'
{
"email": "[email protected]",
"fullName": "Yogesh Kadav ",
"businessunitId": 164373,
"status": "Active"
}