put https://api.alocity.com/v1/integration-management/user//suspend
This endpoint is used to suspend a user. A suspended user can be reactivated using the user reactivate endpoint.
Controlled Errors
Error Code | Error Message |
---|---|
error_invalid_value | The API user cannot suspend itself. |
error_user_not_found | User with the provided Id was not found. |
error_user_error_updating_account_owner | The account owner cannot be suspended. |
error_user_not_updated | The user update failed. |
Any status codes returned that are not provided here are generic status codes that can be found here.