EXAMPLE
We will know more about the API through the example below:
Request
I will call API to modify all the Agent User
curl \
-H "X-Auth-Token: eyaskjksadkasd9.9123kjsadhkj123jhasdjajsjsdhKS.IH5uHASSJsadnbads980asTHo9dhljM" \
-X PATCH -d "{ \t\"active\": \"true\"}" \
"http://88.99.175.131:8000/v1/user/all?user_type=agent"
Response
{
"payload": {
"updated": 91
},
"success": true
}