Menu

Delete Resource

DEL/v1/installations/{installationId}/resources/{resourceId}
Uninstalls and de-provisions a Resource
/v1/installations/{installationId}/resources/{resourceId}
const response = await fetch('/v1/installations/string/resources/string', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{}
AuthorizationUser Authentication

Default authentication mechanism

AuthorizationSystem Authentication

Default authentication mechanism

installationIdstringRequired
resourceIdstringRequired
X-Vercel-AuthstringOptional
The auth style used in the request (system, user, etc)
Idempotency-KeystringOptional
A unique key to identify a request across multiple retries
Resource deleted successfully

No response body

403Operation failed because the authentication is not allowed to perform this operation
409Operation failed because of a conflict with the current state of the resource
Delete Resource | Partner API