Delete Consent
Description
차량 데이터 공유 동의를 철회하는 API입니다.
- Select Vehicles를 통해 데이터 공유 동의한 차량 중 헤더 파라미터로 지정한 브랜드에 해당하는 모든 차량에 대해서 동의를 철회합니다.
Endpoint
DELETE https://api.pleos.ai/v1/vehicles/consent
Request
curl
curl -X DELETE "https://api.pleos.ai/v1/vehicles/consent" \
-H "Authorization: Bearer <your_access_token>" \
-H "Content-Type: application/json" \
-H "Brand: hyundai" \
Header Params
파라미터 | 타입 | 설명 | 필수 여부 |
---|---|---|---|
Authorization | string | 액세스 토큰 | Required |
Content-Type | string | application/json | Optional |
Brand | string | 차량 브랜드(hyundai/kia/genesis) | Required |
Response
성공
200
{
"data": {},
"meta": {
"code": 200,
"message": "Success",
"success": "true",
"timestamp": "2025-09-01T11:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}
실패
4002
{
"error": {
"code": "4002",
"message": "Invalid request parameters",
"details": [],
"timestamp": "2025-09-01T12:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}
[에러 코드]
실패 시 에러 코드에 대한 상세한 설명은 에러 코드를 참조합니다.