Skip to main content
POST
/
functions
/
{function_id}
/
schedule
Function Schedule Set
curl --request POST \
  --url https://api.example.com/functions/{function_id}/schedule \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cron": "<string>",
  "variables": {}
}
'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

function_id
string
required

Body

application/json
cron
string
required
variables
Variables · object
required

Response

Successful Response

status
string
required