Agent network

Say this computer left one of your Reason Network teams

Changed on

The Reason CLI calls this after its computer left a Reason Network team. The computer stops being registered on it; when it was the last computer on the team (last), nobody can let the person back in, so the team leaves the account's directory and sign-in stops offering it. Another of the account's computers registered on the team keeps it; when the link the directory offered was made by the leaving computer, the latest link one of those computers sent takes its place.

<sub>Auth: any valid API key (no scope)</sub>

post/v3/network/teams/leave

Request

  • Base URL
    https://api.reasonmachines.com
  • URL
    https://api.reasonmachines.com/v3/network/teams/leave
  • Auth
    HTTP bearer

Request body

team_idstring required

The team's id, as the engine prints it.

linkstring required

The team's link, which proves this computer was on it.

lastboolean required

The engine's roster listed no other computer on the team just before this one left it.

Response

{ removed }: true when the team left the account's directory; false when the account has no such team, or it stays (other members, or another of the account's computers registered on it).

Changes