v1

latestOpenAPI 3.1.02026-07-241360148.9 KB

Patch a User

patch/v1/user/{id}

Path parameters

idstring required

Headers

Authorizationstring required

Bearer (token)

Request body

namestring
numberstring
emailstring
caller_idstring[]
agent_groupstring[]
block_agentboolean
international_outboundboolean
designationstring
login_idstring
user_rolestring
passwordstring
block_web_loginboolean
login_based_callingboolean
disable_agentboolean

True or False

Response

200

successboolean
messagestring
{"stackTrail":"paths:/v1/user/{id}:patch:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/user/{id}:patch:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "User updated successfully."
}