Get number of team users with roles

This function returns the current and maximum number of team users with roles.

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