Delete Member Car Info
Description
刪除會員汽車資訊。
Resource
DELETE /v1/user/car
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| car_no | string | 車牌號碼 |
Request Example
{
"car_no": "AAA-0000"
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| code | string | 錯誤代碼 |
| message | string | 錯誤訊息 |
Response Success Example
Status-Code: 204 No Content
Response Fail Example
Status-Code: 400
{
"code": "E03",
"message": "請輸入車牌號碼"
}
Response Error Code
| Status-Code | code | message |
|---|---|---|
| 400 | E01 | 無此公司 |
| 401 | E02 | 無法識別會員身份,需重新登入 |
| 400 | E03 | 請輸入車牌號碼 |
| 400 | E04 | 此車號已存在 |
| 400 | E05 | 請輸入車種 |
| 400 | E06 | 會員汽車資訊同步失敗 |
| 400 | E07 | 發生未知的錯誤 |
| 404 | E08 | 查無汽車資訊 |