Create a Schedule Change for a flag in an environment
1 min
POST
http://localhost:3002//projects/{project_id}/flags/{flag_key}/schedules
project_idinteger
flag_keystring
acceptstringGenerated from available response content types
bodyobject
201Successful Response
401Not Authenticated
422Validation Error
curl --request POST \
--url http://localhost:3002//projects/{project_id}/flags/{flag_key}/schedules \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"account_id": "",
"actions": [
{
"subject": {},
"changed_element": "",
"value": {}
}
],
"schedule": {
"time": "20:14",
"time_zone": "Etc/UTC",
"date": "2023-07-30"
},
"environment": ""
}'