v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Edit Staff Details

Updates profile information of the respective staff user. You can use direct login or token based login. You need a new header X-CAP-API-ACCESS-TOKEN for token based authentication.

post/staff/edit

Headers

X-CAP-API-AUTH-KEYstring

Authentication key of the admin.

X-CAP-API-AUTH-ORG-IDstring

ID of the org to associate with the staff user.

Request body

usernamestring

Username for the current staff account. No special characters are allowed.

idstring

Unique ID of the staff.

mobilestring

Mobile number of the staff.

emailstring

Email ID of the staff.

firstnamestring

First name of the staff user

lastnamestring

Last name of the staff user.

titlestring

Role or designation of the user

Response

200