v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Storage

Reset storage credentials

WARNING: This is a destructive operation — it removes ALL existing access keys and generates a single new key pair. Any applications using the old keys will lose access immediately.

For S3 storage this replaces all existing access keys with a single new key pair. For SFTP storage this resets the password.

Deprecated: Use POST /v4/object_storages/{storage_id}/access_keys to create individual access keys, DELETE /v4/object_storages/{storage_id}/access_keys/{access_key} to remove specific keys, or PATCH /v4/sftp_storages/{storage_id}/credentials for SFTP storage instead.

post/storage/provisioning/v1/storage/{storage_id}/credentials

Path parameters

storage_idinteger required

Request body

delete_sftp_passwordboolean
generate_s3_keysboolean
generate_sftp_passwordboolean
reset_sftp_keysboolean
sftp_passwordstring

Response

Storage

addressstring required

Full hostname/address for accessing the storage endpoint

can_restoreboolean

Whether this storage can be restored if deleted (S3 storages only, within 2 weeks)

client_idinteger required

Client identifier who owns this storage

created_atstring date-time required

ISO 8601 timestamp when the storage was created

custom_config_fileboolean

Whether custom configuration file is used for this storage

deleted_atstring date-time

ISO 8601 timestamp when the storage was deleted (only present for deleted storages)

disable_httpboolean

Whether HTTP access is disabled for this storage (HTTPS only)

expiresstring date-time

ISO 8601 timestamp when the storage will expire (if set)

idinteger required

Unique identifier for the storage instance

locationstring required

Geographic location code where the storage is provisioned

namestring required

User-defined name for the storage instance

provisioning_status'creating' | 'ok' | 'updating' | 'deleting' | 'deleted' required

Current provisioning status of the storage instance

reseller_idinteger required

Reseller technical client ID associated with the client

rewrite_rulesobject

Custom URL rewrite rules for the storage (admin-configurable)

server_aliasstring

Custom domain alias for accessing the storage

type'sftp' | 's3_compatible' required

Storage protocol type - either S3-compatible object storage or SFTP file transfer

Example response

{
  "address": "s-region-1.storage.example.com",
  "can_restore": true,
  "client_id": 1,
  "created_at": "2025-08-05T09:17:02Z",
  "credentials": {
    "keys": [
      {
        "created_at": "2025-08-05T09:15:00Z",
        "id": 123,
        "name": "my-production-key"
      }
    ],
    "s3": {
      "access_key": "AKIAIOSFODNN7EXAMPLE",
      "secret_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
    },
    "sftp_password": "Xy9$mN2p!qR8"
  },
  "deleted_at": "2025-08-05T10:30:15Z",
  "expires": "2026-08-05T09:17:02Z",
  "id": 1,
  "location": "s-region-1",
  "name": "1-my-storage-prod",
  "provisioning_status": "ok",
  "reseller_id": 1,
  "server_alias": "my-storage.example.com",
  "type": "s3_compatible"
}