Endpoint Redirections
Create dynamic endpoint redirection
Initiates a dynamic endpoint redirection from a source database to a target database. Returns a redirection ID that can be used to poll the status. This is available in private preview.
post/v1/endpoint-redirections
Request body
Example request
{
"sourceDatabaseId": 51404231,
"targetDatabaseId": 51404232,
"endpointTargetType": "public",
"duplicateACLs": true,
"migrationProtection": true
}Response
OK
Example response
{
"redirectionId": "550e8400-e29b-41d4-a716-446655440000",
"status": "in-progress",
"sourceDatabaseId": 51404231,
"targetDatabaseId": 51404232,
"duplicateACLs": true,
"startedAt": "2024-05-01T13:03:08Z",
"completedAt": "2024-05-01T13:05:42Z",
"endpoints": [
{
"sourceEndpointName": "redis-12345",
"targetEndpointName": "redis-12346",
"sourceEndpointType": "public",
"targetEndpointType": "public"
}
]
}