Skip to main content
POST
/
adminPortal#deactivateUser
deactivateUser
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/adminPortal#deactivateUser' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "deactivateUser",
  "user": {
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "exitDate": "<string>",
    "personalEmail": "<string>",
    "finalPayCheckType": "They will be paid by cash or check",
    "additionalNotes": "<string>"
  }
}
'
{
  "user": {
    "userId": "<string>",
    "status": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
Example:

"deactivateUser"

user
object
required

Response

user
object
required