Skip to content

Remove Curated List

DELETE
/api/managing-entity/{managingEntityIdentifier}/studio/static-list/{listIdentifier}
curl --request DELETE \
--url https://api.wink.travel/api/managing-entity/owner-1/studio/static-list/list-1 \
--header 'Wink-Version: 2.0'

Remove curated list by list identifier

managingEntityIdentifier
required
string
""

Remove curated list owned by this owner identifier.

Example
owner-1
listIdentifier
required
string
""

List identifier.

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

OK

Media type application/json
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.

integer format: int64
""
ownerIdentifier
required

List creator

string format: uuid
"" >= 1 characters
name
required

Name of curated list

string
"" >= 1 characters
type
required

Every affiliate starts out with a Favorite list. All other lists will be of type NORMAL

string
""
Allowed values: FAVORITE NORMAL
Example
{
"id": "",
"createdDate": "",
"lastUpdate": "",
"version": "",
"ownerIdentifier": "",
"name": "",
"type": "FAVORITE"
}

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