Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Headers

Accept-Language
string

Preferred language of error texts. Supported: en, fr, de, ru, es, pt, zh, ja, ko, tr, az. Anything else, or no header, gives en.

Maximum string length: 256
Example:

"de-DE,de;q=0.9,en;q=0.8"

Path Parameters

storage_id
integer<int64>
required

Storage ID

Body

application/json
expires_at
string<date-time>

ISO 8601 timestamp (RFC3339) after which the key is deleted from the backend and the cache. Must be in the future and within the next 5 minutes. A key created with an expiry is hidden from the access-key list and does not count toward the per-storage limit, so it is suited to short-lived browser/file-manager use. Omit for a key that never expires.

read_only
boolean

Request a key scoped to read-only data access. Only supported for Standard storages; a Fast storage rejects true. Defaults to false (full read-write) when omitted.

Example:

false

Response

AccessKeyCreateDataV4

access_key
string
required

Access key ID used as the username in S3 authentication. Pass this in the AWS_ACCESS_KEY_ID field of your S3 client.

Example:

"AKIAIOSFODNN7EXAMPLE"

created_at
string<date-time>
required

ISO 8601 timestamp when the access key was created

Example:

"2025-08-05T09:17:02Z"

expires_at
string<date-time> | null
required

ISO 8601 timestamp when the key expires, or null for a key that never expires.

Example:

"2025-09-05T09:17:02Z"

read_only
boolean
required

True for a key scoped to read-only data access.

secret_key
string
required

Secret key used as the password in S3 authentication. Save this now — it cannot be retrieved again.

Example:

"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"