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",
  "user_in_team": true,
  "admin_role_for_current_user": true,
  "users": [
    {
      "id": 1,
      "email": "vincent_muller@ferry.co",
      "user_full_name": "Dianna Morar",
      "avatar_image": null,
      "invited": false,
      "team_role_name": "member"
    },
    ...
  ]
}

Params

Param name Description
id
optional

Validations:

  • Must be a Integer

sort_by
optional

Validations:

  • Must be one of: email, team_role, name.

sort_to
optional

Validations:

  • Must be one of: asc, desc.