curl --request DELETE \
--url 'https://upload.autorender.io/api/v1/sources/974628c2-9b55-4ce4-adf1-9b63edff6baa' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"error": "Source not found"
}
{
"success": false,
"error": "Invalid API key.",
"message": "The provided API key is invalid, inactive, or has been deleted"
}
Source Management
Delete source
Delete a source by its id.
DELETE
/
api
/
v1
/
sources
/
{sourceId}
curl --request DELETE \
--url 'https://upload.autorender.io/api/v1/sources/974628c2-9b55-4ce4-adf1-9b63edff6baa' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"error": "Source not found"
}
{
"success": false,
"error": "Invalid API key.",
"message": "The provided API key is invalid, inactive, or has been deleted"
}
Key type: requires a private key. A public key returns
403 here, because it may only
upload — see key types and scope. Call
this from your server, never from browser code.curl --request DELETE \
--url 'https://upload.autorender.io/api/v1/sources/974628c2-9b55-4ce4-adf1-9b63edff6baa' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"error": "Source not found"
}
{
"success": false,
"error": "Invalid API key.",
"message": "The provided API key is invalid, inactive, or has been deleted"
}
Overview
Removes the source identified bysourceId. The request needs no body and returns 204 No Content on success.
Path parameters
| Parameter | Description |
|---|---|
sourceId | Source id (UUID) to delete |
Next steps
List sources
Browse the sources that remain in your workspace.
Create source
Add a new source.
Authorizations
API key for public endpoints. Can also be provided via Authorization: Bearer
Path Parameters
Source ID
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
Source deleted
Was this page helpful?