Remove Vrt Source
const url = 'https://example.com/ingest/vrt/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/ingest/vrt/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \ --header 'Authorization: Bearer <token>'Remove a COG source from an existing VRT and trigger async regeneration.
Returns 202 Accepted with a job_id for polling. Returns 409 if the VRT is currently regenerating. Returns 422 if removing would leave fewer than 2 sources. Returns 404 if the source is not linked to the VRT.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”Successful Response
object
Identifier of the asynchronous VRT mutation job.
Initial job status.
Human-readable acceptance message.
Example
{ "status": "accepted"}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request