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/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/extranet/add-on/a3f7c2e1-8b4d-4c7a-a1e2-5f0b6d9e2c84 \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Removes the specified add-on from the property. Returns confirmation of the deletion. Requires INVENTORY:WRITE permission on the property.

managingEntityIdentifier
required
string
""

Property identifier that owns the add-on

Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69
addOnIdentifier
required
string
""

Add-on identifier to delete

Example
a3f7c2e1-8b4d-4c7a-a1e2-5f0b6d9e2c84
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Add-on deleted successfully. Returns deletion confirmation with the removed add-on identifier.

Media type application/json

Response object for when a system document is removed.

object
id

Identifier of removed document

string format: uuid
""
success

Whether the removal was successful or not.

boolean
message

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

string
""
key
additional properties
""
Example
{
"id": "3c6b1a5d-8e2f-4a0b-9c7d-6e4f0a8b2c51",
"success": true,
"message": "Property marked as deleted. Can be restored within 30 days."
}

Bad Request — missing or invalid request parameter or body

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unauthorized — authentication is required or the session has expired

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Forbidden — authenticated but lacking the required permission or scope

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Not Found — the requested resource does not exist

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Method Not Allowed — the HTTP verb is not supported on this endpoint

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Unsupported Media Type — use application/json

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Internal Server Error — an unexpected failure occurred on the server

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example

Service Unavailable — a downstream dependency is unreachable

Media type application/problem+json
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
key
additional properties
""
Example