Team Users
Set a team user to expire
This function expires a team user after a specified amount of time.
If the team user already has an expire date set, it's replaced with a new date and reason.
get/Team/set_expire
Query parameters
The epoch time on which the team user account expires, or the offset from the current time, in days. Integers are treated as Unix Epoch Time unless followed by 'days'.
userstring required
Example:teamUser
The username of the team user.
reasonstring
Example:teamUser gave a two week notice.
The reason for expiration.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_expire",
"module": "Team",
"result": {
"data": 1674575562,
"metadata": {
"transformed": 1
},
"status": 1
}
}