Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- GETList storagesdeprecated
- PUTCreate storage
- GETGet storage
- POSTUpdate storage
- DELDelete storage
- POSTReset storage credentials
- POSTLink key to storage
- POSTUnlink key from storage
- POSTRestore deleted storage
- POSTCreate s3 storage bucket
- DELRemove s3 storage bucket
- GETGet s3 storage bucket cors
- POSTCreate s3 storage bucket cors
- POSTCreate s3 storage bucket lifecycle
- DELDelete s3 storage bucket lifecycle
- GETGet s3 storage bucket policy
- POSTCreate s3 storage bucket policy
- DELDelete s3 storage bucket policy
- GETList s3 storage buckets
- GETList storages v2
- GET
- Storage Statistics
Storage
Create storage
Creates storage and returns it
PUT
/
storage
/
provisioning
/
v1
/
storage
Copy
Ask AI
curl --request PUT \
--url https://api.gcore.com/storage/provisioning/v1/storage \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"generate_sftp_password": true,
"location": "s-ed1",
"name": "<string>",
"sftp_password": "<string>",
"type": "sftp"
}'
Copy
Ask AI
{
"address": "<string>",
"can_restore": true,
"client_id": 123,
"created_at": "<string>",
"credentials": {
"keys": [
{
"created_at": "<string>",
"id": 123,
"name": "<string>"
}
],
"s3": {
"access_key": "<string>",
"secret_key": "<string>"
},
"sftp_password": "<string>"
},
"custom_config_file": true,
"deleted_at": "<string>",
"disable_http": true,
"expires": "<string>",
"id": 123,
"location": "s-ed1",
"name": "<string>",
"provisioning_status": "<string>",
"reseller_id": 123,
"rewrite_rules": {},
"server_alias": "<string>",
"type": "sftp"
}
Authorizations
API key for authentication.
Body
application/json
Response
200
application/json
Storage
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PUT \
--url https://api.gcore.com/storage/provisioning/v1/storage \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"generate_sftp_password": true,
"location": "s-ed1",
"name": "<string>",
"sftp_password": "<string>",
"type": "sftp"
}'
Copy
Ask AI
{
"address": "<string>",
"can_restore": true,
"client_id": 123,
"created_at": "<string>",
"credentials": {
"keys": [
{
"created_at": "<string>",
"id": 123,
"name": "<string>"
}
],
"s3": {
"access_key": "<string>",
"secret_key": "<string>"
},
"sftp_password": "<string>"
},
"custom_config_file": true,
"deleted_at": "<string>",
"disable_http": true,
"expires": "<string>",
"id": 123,
"location": "s-ed1",
"name": "<string>",
"provisioning_status": "<string>",
"reseller_id": 123,
"rewrite_rules": {},
"server_alias": "<string>",
"type": "sftp"
}
Assistant
Responses are generated using AI and may contain mistakes.