Cancel a scheduled post
curl --request POST \
--url https://api.solaraai.com/api/v1/videos/{id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'import requests
url = "https://api.solaraai.com/api/v1/videos/{id}/cancel"
payload = { "reason": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.solaraai.com/api/v1/videos/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Calendar
Cancel a scheduled post
Solara AI API: Coming soon (opens at launch). Cancels a post that is scheduled and not out yet: it won’t go out. The person’s calendar keeps it where it was, marked as cancelled by you; an edited video goes back to Ready to publish. 409 post_not_scheduled for a post that is posting, out or not scheduled.
Permission: Ask to post (publish).
POST
/
api
/
v1
/
videos
/
{id}
/
cancel
Cancel a scheduled post
curl --request POST \
--url https://api.solaraai.com/api/v1/videos/{id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'import requests
url = "https://api.solaraai.com/api/v1/videos/{id}/cancel"
payload = { "reason": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.solaraai.com/api/v1/videos/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}