- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Passenger Delete
DELETE
https://test-api.ucuzyolu.com/customer/passengers/{{passengerId}}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://test-api.ucuzyolu.com/customer/passengers/' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array[object (CustomerPassenger Response) {10}]
required
id
integer
required
firstName
string
required
lastName
string
required
birthDate
string
required
identity
string
required
phone
string
required
gender
string
required
isLocalCitizen
boolean
required
milecardinfo
array [object {2}]
optional
passportinfo
array [object {3}]
optional
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 0,
"firstName": "string",
"lastName": "string",
"birthDate": "string",
"identity": "string",
"phone": "string",
"gender": "string",
"isLocalCitizen": true,
"milecardinfo": [
{
"milecardAirlineCode": "string",
"milecardNo": "string"
}
],
"passportinfo": [
{
"passportNationality": "string",
"passportNumber": "string",
"passportValidDate": "string"
}
]
}
],
"success": true,
"code": 0,
"message": "string"
}
Modified at 2024-11-28 01:29:13