Skip to main content

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

id
string
required
The ID of the redirect to be deleted

Response

status
number
HTTP status code (typically 200 or 204 on success)
data
object
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

Build docs developers (and LLMs) love