Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

[
  {
    "id": 2,
    "name": "team",
    "member_roles_count": 3,
    "admin_roles_count": 1,
    "user_in_team": true,
    "admin_role_for_current_user": true
  },
  ...
]

Params

Param name Description
name
optional

Name of team for search

Validations:

  • Must be a String

filter
optional

user by default

Validations:

  • Must be one of: user, workspace.

sort_type
optional

Validations:

  • Must be one of: created_at, name.

sort_to
optional

Validations:

  • Must be one of: asc, desc.