Skip to content

Create CalDAV Connection

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/caldav/auth/regen
curl --request GET \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/caldav/auth/regen \
--header 'Wink-Version: 2.0'

Generates new CalDav passkey the property can use to authenticate the CalDAV url.

managingEntityIdentifier
required
string
""

Regenrate CalDAV auth for this specified property

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

OK

Media type application/json
object
identifier
string
hotelIdentifier
string
passkey
string
url
string
Example generated
{
"identifier": "example",
"hotelIdentifier": "example",
"passkey": "example",
"url": "example"
}

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