Delete project
If you enter the project ID verified through the Get projects inquiry, you can safely delete the project.
1. API Endpoint
https://app.aistudios.com/api/odin/v3/editor/project
2. Request Parameters
key | desc | type | required | default |
---|---|---|---|---|
ids | Array of unique identifiers for video projects to delete | Object | true | - |
3. Response Parameters
key | desc | type |
---|---|---|
deletedCount | Deleted Count | Int |
4. Sample Request
- cURL
- Node.js
- Python
curl https://app.aistudios.com/api/odin/v3/editor/project \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X DELETE
-d '{
"ids": [
"${projectId}"
]
}'
import axios from "axios";
const token = ${API KEY};
const customWebhookUrl = ${webhook_delivery_address};
axios.delete('https://app.aistudios.com/api/odin/v3/editor/project',
{
"ids" : [
"${projectId}"
]
},
{
headers: {
'Authorization': ${token},
'Content-Type': 'application/json'
}
}
)
.then((res) => {
console.log(res.data);
})
.catch((error) => {
console.error(error);
})
import requests
import json
url = "https://app.aistudios.com/api/odin/v3/editor/project"
body = {
"ids" : [
"${projectId}"
]
}
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.delete(url, data=json.dumps(body), headers=headers)