Delete a shared resource
DELETE
/api/v3/organizations/{organisation}/resources/{resource}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/test-org/resources/res-abc123';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://dashboard.quantcdn.io/api/v3/organizations/test-org/resources/res-abc123 \ --header 'Authorization: Bearer <token>'Deletes the resource and its contents. This cannot be undone. A resource with live attachments is rejected unless force is set.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
Example
test-orgresource
required
string
The resource ID
Example
res-abc123Query Parameters
Section titled “Query Parameters”force
boolean
Delete even if the resource is attached or in an error state
Responses
Section titled “Responses”Deleted
The resource is still attached
