SureTax Config API
PUT User
Overview
The PUT User API endpoint facilitates the process of updating the information of a user.
OperationId: PUT User
Authorization Method(s): OAuth
Verb: PUT
End Point: /api/v1/User
Example Request
The following is an json request for this operation.
{
"firstName": "name",
"lastName": "last name",
"webRole": "role1",
"email": "user1@wk.com",
"active": true,
"phoneNumber": "1234567890",
"mfaContact": "user1mfa@wk.com",
"preparer": true,
"taxId": "1234567890",
"title": "Preparer tittle",
"accessToAllLFEs": true,
"accessToLFEs": [
"000000001",
"000000002"
],
"companies": [
"company 1"
]
}
*Mandatory parameter
Response codes in an API indicate the outcome of a request. They are three-digit numbers returned by the server to help the client understand if the request was successful, encountered an error, or needs further action. This operation has the following possible responses.
code | description |
---|---|
200 | The API responds with this code to indicate that the data was updated successfully. |
400 | Bad Request - The server could not process the request due to invalid input or missing required parameters. |
401 | Unauthorized: The user's authentication is not valid. |
500 | Internal Server Error - An unexpected error occurred on the server while processing the request. |