# Delete Shortlink

DELETE /api/v2/projects/{projectId}/shortlinks/{shortlinkId}

Deletes a short link. The hostname and path stop resolving. Click history already recorded stays in analytics.

## Request

- projectId: string, path, required — ID of the project that owns the short link.
- shortlinkId: string, path, required — ID of the short link to delete.

## Response

- 200: Successful response
  - createdAt: string, required
  - destinationURL: string, required — URL visitors are sent to when they open the short link.
  - domainId: string, required
  - id: string, required
  - projectId: string, required
  - shortLinkDomain: string, required
  - shortLinkPath: string, required
  - updatedAt: string, required
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
