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,
    "users": [
      {
        "id": 1,
        "email": "vincent_muller@ferry.co",
        "first_name": "Dianna",
        "last_name": "Morar",
        "avatar_image": null,
        "status_role": "member"
      },
      ...
    ]
  },
  ...
]

Params

Param name Description
name
optional

Name of team for search

Validations:

  • Must be a String

sort_by
optional

Validations:

  • Must be one of: asc, desc.

sort_type
optional

Validations:

  • Must be one of: created_at, name.