Menu

Accept Resources Transfer Request

POST/v1/installations/{installationId}/resource-transfer-requests/{providerClaimId}/accept
Finish the transfer process, expects any work required to move the resources from one installation to another on the provider's side is or will be completed successfully. Upon a successful response, the resource in Vercel will be moved to the target installation as well, maintaining its project connection. While the transfer is being completed, no other request to complete the same transfer can be processed. After the transfer has been completed, it cannot be completed again, nor can it be verified.
Important: The installation ID in the URL is the target installation ID, not the source one.
/v1/installations/{installationId}/resource-transfer-requests/{providerClaimId}/accept
const response = await fetch('/v1/installations/string/resource-transfer-requests/string/accept', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{}
AuthorizationSystem Authentication

Default authentication mechanism

installationIdstringRequired
providerClaimIdstringRequired
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
Transfer completed successfully

No response body

403Operation failed because the authentication is not allowed to perform this operation
404Entity not found
409Operation failed because of a conflict with the current state of the resource
422Operation is well-formed, but cannot be executed due to semantic errors
Accept Resources Transfer Request | Partner API