About iMochaHelpBook a demo
About iMochaHelpBook a demo
  1. Users
  • Introduction
  • Skills Assessment API
    • API Reference
      • Getting started
      • API Environment
      • Authentication Mechanism
      • Error Code
      • List timezones
    • Test
      • List all tests
      • Retrieve a test
      • Retrieve test settings
      • Update Test Settings
    • Test Invitations
      • Callback notification
      • Invite candidate
      • Invite candidate by test link
      • Reattempt Test
      • Cancel Invitation
    • Test Link
      • List all test links
    • Report
      • Retrieve candidate test report
      • Retrieve candidate test report in PDF
    • Callback API
      • Process Callbacks
      • Retrieve Invites
    • GDPR
      • GDPR Data Masking Service
    • Users
      • Get all business units
        GET
      • Create New User
        POST
      • Update User
        POST
      • Active/ Inactive User
        POST
  • Skills Intelligence API
    • Introduction
    • Authentication
    • Employee
      • List employees
      • Get Employee Skills by employeeId
      • Employee Enrollment
      • Update Employee Status
    • JobProfiles
      • Get All JobProfiles
      • Get JobProfile with Skills By JobProfileId
      • Create JobCode
    • Taxonomy
      • Get all Taxonomy Skills
    • CareerPath
      • Get Employee Career Path by employeeId
    • Account
      • Get Multichannel Validation Weightages
  1. Users

Active/ Inactive User

POST
/v3/accounts/user/status

🔶 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.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
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"
}'
Response Response Example
{
    "email": "[email protected]",
    "fullName": "Yogesh Kadav ",
    "businessunitId": 164373,
    "status": "Active"
}
Modified at 2025-08-06 09:24:26
Previous
Update User
Next
Introduction
Built with