---
title: "Archives a registered file"
method: DELETE
path: "/v3/ai/file-registrations/{fileRegistrationId}"
tags: ["AiGenerator"]
---

# Archives a registered file

`DELETE /v3/ai/file-registrations/{fileRegistrationId}`

## Request

- Base URL: `https://api.gettyimages.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gettyimages.com/v3/ai/file-registrations/{fileRegistrationId}`
- Auth: one of:
  - API key in header `Api-Key`
  - OAuth 2
    - Authorization code: `https://authentication.gettyimages.com/oauth2/auth`
    - Client credentials
    - Password
    - Token URL: `https://authentication.gettyimages.com/oauth2/token`
- TypeScript: <https://skmtc.dev/gettyimages/apis/getty-images-api/docs/v3/ai/file-registrations/:fileRegistrationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `fileRegistrationId` string, required

## Response `200`

OK

## Other responses

- `204`: The file was successfully archived
- `403`: Not authorized
- `404`: The file registration id does not exist

## Changes

- **2025-11-20** `81cb0e852242`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gettyimages/apis/getty-images-api/changes/v3/ai/file-registrations/:fileRegistrationId/delete.md)

---

[API](https://skmtc.dev/gettyimages/apis/getty-images-api.md) - [All operations](https://skmtc.dev/gettyimages/apis/getty-images-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gettyimages/apis/getty-images-api/revisions/f20ce986456b?raw)
