Set password for a team user

This function replaces the current password with a new one.

SecurityBasicAuth
Request
query Parameters
password
required
string

The password to set for the team user.

Example: password=securepassword
user
required
string

The username of the team user.

Example: user=teamuser
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Team/set_password
Request samples
uapi --output=jsonpretty \
  --user=username \
  Team \
  set_password \
  user='teamuser' \
  password='securepassword'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "set_password",
  • "module": "Team",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}