Assets operations
Access the files attached to an item.
Each operation below is reachable at POST /v1/op/{operation_id} or the resource path POST /v1/{resource}/{action}, with a Bearer token (a gpra_ API key or a session token). Back to the Operations Reference index.
assets.delete
Delete an asset (file) from an item (item access required).
| Scope | items:write |
| Side-effect | destructive |
| HTTP | POST /v1/op/assets.delete · POST /v1/assets/delete |
| Python / TypeScript | client.assets.delete(…) |
| CLI | geopera assets delete … |
Request — AssetDeleteInput
| Field | Type | Required | Description |
|---|---|---|---|
item_id | string | yes | |
asset_id | string | yes |
Response — AssetDeleteOutput.