Skip to content

Delete Add-On

DELETE
/api/managing-entity/{managingEntityIdentifier}/extranet/add-on/{addOnIdentifier}
curl --request DELETE \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/add-on/add-on-1 \
--header 'Wink-Version: 2.0'

Delete an add-on by its identifier

managingEntityIdentifier
required
string
""

Remove add-on record owned by this property identifier

Example
hotel-1
addOnIdentifier
required
string
""

Remove add-on record identified by this identifier

Example
add-on-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json

Response object for when a system document is removed.

object
id

Identifier of removed document

string
""
success

Whether the removal was successful or not.

boolean
message

Message with additional information; mostly if the removal request was a failure.

string
""
Example
null

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"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}