※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
DELETE /api/v1/teams/:team_id/memberships/:id
Destroy a membership
Supported Formats
jsonExamples
DELETE /api/v1/teams/400/memberships/390 {} 200 { "id": 390, "team_id": 400, "user_id": 208, "role": "manager", "role_id": 800, "created_at": "2025-08-13T09:05:26.000+09:00", "updated_at": "2025-08-13T09:05:26.000+09:00", "deleted_at": "2025-08-13T09:05:26.000+09:00", "role_text": "Owner", "team": { "id": 400, "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAALRUlEQVR42u2caVRTZxrHb/YEkhD2sBojIIYoyFCtiimOWmhorVtBC5RxYdAyHstQaq21lFFK25yK1qrttNShLYPg1rpQLVpZglREQARE9iWyhBBCErIv8+F+6WkPN5F7b8I5k9/nf97neZ8/vPe+28UIBDU1fD7gwE5g7Z3A/zsOA+yMwwA74zDAzjgMsDMOA+yMwwA7g7d3An9KqAQrIlz1S6dzw6r95HQZx8lrnJrAjnJxIzUwj1L7SUHu+QQi9ivSY1wk9hzBaBCZ+nSn9XnGMHWWYrl2l4QqO6jRjN4du65Udpc+dZEz2qeH9ylqO5jmInO8qcfe/fsjmLkwEfOT02Uc5wiFz4P4lqCzbvuWnyLIcG6UtUi1r95rcJJTOpmSNGFX06Xhw1edJSmqjsFk+/YaxG4G+ATSTAuXrtnN3rD7oK+cJuM42yiwABAC/J54KbW+o9K1T/rN6sliNfGpxPYVALHpMwDvj2UR31w/HXQ+46ukgXDssUablh4kG4gGyhdw3CKW9e5Ijnx8+vWVQCDweg5GjDmI2WfTTAAAsJkBjHwymbky+X7EoYKV4TnME3x/sBDWt6DPM3E0WeKz0/t6PfsDJ00PrnQfkPrWmfpPylY17plIUXUMJhsbzdsNuGfo/G1MBj525duB0UnLE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erors", "hierarchized": false, "default_duration": 15, "created_at": "2025-08-13T09:05:26.000+09:00", "updated_at": "2025-08-13T09:05:26.000+09:00", "workspaces_workspace_id": 418, "ancestry": null, "html_url": "http://test.host/app/teams/400/edit", "personal": false, "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, "rounding": "floor", "capacity": null }, "user": { "id": 208, "email": "dewitt.schoen@ledner-hahn.test", "nickname": "Rodney Cassin", "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/208/calendar", "is_deactivated": false } }