Reinstate a team user

This function reinstates a team user by removing any suspended or expired statuses. The reason field is also cleared.

SecurityBasicAuth
Request
query Parameters
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/reinstate_team_user
Request samples
uapi --output=jsonpretty \
  --user=username \
  Team \
  reinstate_team_user \
  user='teamUser'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "reinstate_team_user",
  • "module": "Team",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}