/projects/{project_id}/transfer_requests/{request_id}Accept a project transfer requestAccepts a transfer request for the specified project, transferring it to the specified organization or user. If org_id is not passed, the project will be transferred to the current user or organization account.
Parameters
project_idstringpathrequiredThe Neon project ID
request_idstringpathrequiredThe Neon project transfer request ID
Request body
application/json
org_idstringThe Neon organization ID to transfer the project to. If not provided, the project will be transferred to the current user or organization account.
{
"org_id": "org-cool-darkness-12345678"
}Responses
reasonsarray of objectrequiredList of reasons why the target account's plan cannot satisfy the transfer requirements. Each item contains a `code` identifying the constraint and a `message` with a human-readable explanation.
Show child attributes
Show array items
codestringrequiredA short code identifying the reason
messagestringrequiredDescription of why the plan is not satisfied
{
"reasons": [
{
"code": "string",
"message": "string"
}
]
}codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}