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