Skip to content

Delete application

DELETE
/api/managing-entity/{managingEntityIdentifier}/application/{id}
curl --request DELETE \
--url https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/application/9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43 \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Permanently removes an OAuth2 application and its registered client. All associated credentials are revoked immediately and cannot be recovered.

managingEntityIdentifier
required
string
""

Identifier of the managing entity that owns the application.

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

Identifier of the application to delete.

Example
9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43
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 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
""
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
{}