Appy Pie Update User API Documentation - Update Apps API

Update App User

Update App User API enables you to update the user details including name, password, phone number, and group. To update a user with JSON type content, set header 'content-type: application/json'.

You can refer to the sample code provided on the right side of the screen and switch to your preferred language.

Access the UpdateUser endpoint to update app user details. To access this API endpoint, login/signup to Appy Pie Developer account and obtain the required AccessToken key from the Authentication section.

Below is the request URL and the Method is POST:

POST https://api.appexecutable.com/V2AWS/webservices/UpdateUser.php?format=json

Parameter NameRequiredParameter TypeParameter Description
apiKeyYesStringAPI key is unique for a user account on Appy Pie. You can generate your API key from your Appy Pie account. Go to My Apps Backend>Users>User Registration API>Generate Key
emailYesStringEmail Address of the User
nameYesStringName of the user to be updated
passwordYesStringPassword for the User
phoneYesIntPhone Number of the User
groupYesStringUser Group optional
passwordTypeYesStringPassword type if set to MD5 do not encrypt password

Errors

This error section displays all the errors with details.

Following are the error codes that indicate the success or failure of an API request:

Error CodeMeaning
400Bad Request -- Your request is invalid.
401Unauthorized -- Your API key is wrong.
403Forbidden -- The method requested is hidden for administrators only.
404Not Found -- The specified method could not be found.
405Method Not Allowed -- You tried to access a method with an invalid method.
406Not Acceptable -- You requested a format that is not json.
410Gone -- Request has been removed from our servers.
429Too Many Requests
500Internal Server Error -- We had a problem with our server. Try again later.
503Service Unavailable -- We are temporarily offline for maintenance. Please try again later.
To authorize, use this code:

1wget --no-check-certificate --quiet \
2	--method POST \
3	--timeout=0 \
4	--header "ACCESSTOKEN: Access Token Key" \
5	--header "Content-Type: application/json" \
6	--body-data
7	'{
8		"apiKey": "Your API Key",
9		"email": "test@gmail.com",
10		"name": "zak",
11		"password": "1234567",
12		"phone": "9000000004",
13		"group": "Test",
14		"passwordType": ""
15	 }' \
16	"https://api.appexecutable.com/V2AWS/webservices/UpdateUser.php?format=json"

RESPONSE

{
  "successCode": "200",
  "message": "Updated successfully"
}