※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。

Supported Formats

json

Examples

DELETE /api/v1/teams/4/memberships/6
{}
200
{
  "id": 6,
  "team_id": 4,
  "user_id": 18,
  "role": "manager",
  "role_id": 8,
  "created_at": "2025-06-02T16:24:35.000+09:00",
  "updated_at": "2025-06-02T16:24:35.000+09:00",
  "deleted_at": "2025-06-02T16:24:35.000+09:00",
  "role_text": "Owner",
  "team": {
    "id": 4,
    "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAABDElEQVR42u3csQnCQABG4USsBdvYJE3SuYADqLMIBjcQ7C2FQGorwSxg4wRaip1D2J1xgkC6h/i++oofHnflxXVdFE0TCTKgB/w7A8AMADMAzAAwA8AMABvSA/rKLvN1ko7zfDU6d525nQ77R/nZhKq90nv7+qEAizJJs+OynWy7ztxn1fs5jV6hCjt6b18+QTADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMADADwAwAMwDMALDYbytZ3gCYAWAGgBkAZgCYAWAGgBkA9gWbtB5k4ePnyQAAAABJRU5ErkJggg==",
    "time_limit": 0,
    "rounding": "floor",
    "name": "Iowa zebras",
    "personal": false,
    "capacity": null,
    "hierarchized": false,
    "default_duration": 15,
    "created_at": "2025-06-02T16:24:35.000+09:00",
    "updated_at": "2025-06-02T16:24:35.000+09:00",
    "workspaces_workspace_id": 34,
    "ancestry": null,
    "html_url": "http://test.host/app/teams/4/edit",
    "is_personal": false,
    "can_manage": true,
    "can_manage_employ": true,
    "descendants_names": [],
    "is_payment_required": false,
    "payment_required": false,
    "price_users_count": 1,
    "payable": true,
    "parent": null,
    "is_custom_fields_allowed": true,
    "custom_fields_limit": 5,
    "is_deletable": true
  },
  "user": {
    "id": 18,
    "email": "fidel@goodwin.test",
    "nickname": "Vicenta Quigley",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "daily": true,
    "weekly": true,
    "calendar_zoom_rate": 1,
    "daily_time": "17:00",
    "has_password": true,
    "html_url": "http://test.host/app/users/18/calendar",
    "is_deactivated": false
  }
}