PUT
/
User
/
{userId}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/User/{userId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "email": "example@email.com",
  "phone": "5555555555",
  "name": "Sean Smith",
  "pwd": "<string>",
  "scope": [
    {
      "orgType": 0,
      "orgId": 123
    }
  ],
  "access": [
    {
      "roleLabel": "customers",
      "roleValue": true
    }
  ],
  "usrStatus": 1,
  "timeZone": -5,
  "language": "en",
  "mfaData": {
    "mfa": true,
    "mfaMode": 0
  },
  "additionalData": {
    "key1": "value1",
    "key2": "value2",
    "key3": "value3"
  }
}'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": null
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

userId
integer
required

User Identifier

Body

UserData object to modify

The body is of type object.

Response

200 - application/json

Success

The response is of type object.