Enable download of a pass

POST Request
Endpoint URL https://veski.leikbreytir.is/api/pass/{pass-uid}/enabledownload
Purpose
If you have enabled the option on pass templates that prevents the download if a pass is already active, you can enable the download of the pass temporarily, even if the given pass is active already.

Required input parameters

  • HTTP Authorization Header that contains your API key
  • UID of the pass you want to enable
  • enableDownloadUntil (optional) – a date and time until the download should be possible. If you don’t specify that parameter, the download will be enabled for ten minutes.

Returned values

Status 204 if the pass has been found and the download is enabled again.

Example output:

{
	"enableDownloadUntil": "2019-05-20 10:09"
}