Skip to content

Delete external ID mapping

DELETE
/api/property-embeddings/external/mappings/{mappingId}
curl --request DELETE \
--url https://api.wink.travel/api/property-embeddings/external/mappings/650a2f7c8b3d4e5f9c1a2b3d \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Removes an external ID mapping by id; rejected unless the calling application owns it. After deletion, the partner cannot use the externalId for operations.

mappingId
required
string
""

Mapping document identifier (MongoDB ObjectId)

Example
650a2f7c8b3d4e5f9c1a2b3d
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Mapping deleted successfully

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Missing or invalid JWT authentication

Caller does not own the mapping

Mapping not found

Internal Server Error

object
Example generated
{}