Snoze Developers
API referenceAssets

Rotate Access Key

POST
/v1/workspaces/{workspaceId}/assets/{fileId}/rotate-access-key
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
fileId*string

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"  }}