Rotate an asset's access key
Issues a fresh access key for the file and returns it, which invalidates every capability URL previously handed out for that file. Requires a workspace member with the `files:write` permission; an unknown or malformed file id is reported as not found.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/workspaces/string/assets/string/rotate-access-key"{ "data": { "fileId": "string", "accessKey": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Delete an asset
Deletes the file record and, when no other record shares its storage key, the stored object itself. Requires a workspace member with the `files:write` permission. A file that is still referenced elsewhere is refused with a conflict carrying the full reference report; pass `force=1` to detach every reference first, each owner emitting its normal update event, and delete anyway.
List the integration providers available to a workspace
Returns the provider catalog annotated for this workspace: whether the provider is enabled by feature flag and whether the Snoze deployment is configured with the credentials the provider needs. Requires the `integrations:read` workspace permission. No credential values are returned, only whether configuration is present.