Skip to main content

Delete Consent

Description

This API withdraw consent to share vehicle data..

  • Withdraw consent to share data for all vehiclesof the brand specified in the header parameter, among those vehicles that have given consent via 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

ParameterTypeDescriptionRequired
AuthorizationstringAccess tokenRequired
Content-Typestringapplication/jsonOptional
BrandstringVehicle brand (hyundai/kia/genesis)Required

Response

Success

200
{
"data": {},
"meta": {
"code": 200,
"message": "Success",
"success": "true",
"timestamp": "2025-09-01T11:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}

Failure

4002
{
"error": {
"code": "4002",
"message": "Invalid request parameters",
"details": [],
"timestamp": "2025-09-01T12:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}
[Error Code]

For detailed information about error codes on failure, see Error Code.