# DELETE /profile/files/{id}

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the export group.

Unregister a file from profile exports

- Who may call it: administrator
- Token scope, any of: settings, all
- Answers: 200 OK

This operation removes only the registration. The API returns 404 if id does not identify a registration.

## As a command

- [urbestack-profile-file-del](https://urbestack.com/docs/commands/urbestack-profile-file-del.md): Unregisters a hand-edited file so future profile exports omit it.

## Parameters

- `id` (path, integer, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X DELETE "$API/profile/files/1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "deleted": 1,
  "path": "public_html/index.php"
}
```

## Errors

- 401: Authentication required
- 404: <path> is not registered
- 404: Not registered
