Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dishant0406/quickleap/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
DELETE /delete-redirect/{id}
Function signature
export const deleteRedirect = async (id: string): Promise<AxiosResponse>
Parameters
The ID of the redirect to be deleted
Response
HTTP status code (typically 200 or 204 on success)
Confirmation object containing deletion details
Code example
import { deleteRedirect } from '@/lib/api';
const removeRedirect = async (redirectId: string) => {
const response = await deleteRedirect(redirectId);
console.log('Redirect deleted successfully');
return response.data;
};
Deleting a redirect is permanent and cannot be undone. All analytics data associated with the redirect will also be deleted.
Error responses
Returned when the user is not authenticated
Returned when the user does not have permission to delete this redirect
Returned when the redirect with the specified ID does not exist
Show 500 - Internal Server Error
Returned when an unexpected error occurs on the server