Skip to content

Remove Chart

DELETE
/api/chart/{chartIdentifier}
curl --request DELETE \
--url https://api.wink.travel/api/chart/chart-1 \
--header 'Wink-Version: 2.0'

Remove chart request for specific identifier.

chartIdentifier
required
string
""

Chart identifier

Example
chart-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
{}