Skip to main content
POST
/
v1
/
settlement-windows
/
holidays
Override rail holiday
curl --request POST \
  --url https://api.getsly.ai/v1/v1/settlement-windows/holidays \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "date": "<string>",
  "rail": "<string>",
  "name": "<string>"
}
'
{
  "data": {
    "date": "<string>",
    "rail": "<string>",
    "name": "<string>",
    "source": "system"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getsly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Body

application/json
date
string
required
rail
string
required
name
string
required

Response

201 - application/json

Added

data
object
required