DELETE
/projects/{project_id}/branches/{branch_id}/authDisable Neon Auth for the branchDisables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. If delete_data is true, also deletes the neon_auth schema and all associated tables from the branch database. The integration can be re-enabled by calling POST /projects/{project_id}/branches/{branch_id}/auth.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
Request body
application/json
object
delete_databooleanIf true, deletes the `neon_auth` schema from the database
{
"delete_data": false
}Responses
objectGeneralError
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"
}