# updateLibraryFile

Rename a library file or change its description (fileId from listLibraryFiles); description null clears it.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "updateLibraryFile", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `fileId`: `ID!` (required)
- `name`: `String`
- `description`: `String`

## Response (data, an example)

```json
{
  "workflowAutomationsMutation": {
    "updateLibraryFile": {
      "id": "<ID>",
      "name": "…",
      "description": "…"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "updateLibraryFile",
    "variables": {
      "fileId": "<fileId>"
    }
  }'
```
