POST
/
adminPortal#deactivateUser
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/adminPortal#deactivateUser' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "deactivateUser",
  "user": {
    "userId": "f9b2507d-c757-4c9a-9e96-0002299fa2f7",
    "exitDate": "2023-09-09",
    "personalEmail": "mm@aa.ll",
    "finalPayCheckType": "They have already been paid",
    "additionalNotes": "deactivating temporarily"
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "user": {
        "userId": "f9b2507d-c757-4c9a-9e96-0002299fa2f7",
        "status": "Inactive",
        "message": "The User has been deactivated successfully."
      }
    }
  }
}

Body

application/json
method
string
default: deactivateUserrequired
user
object
required

Response

200 - application/json
user
object
required