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 s3 storage bucket lifecycle
Create s3 storage bucket lifecycle
POST
/
storage
/
provisioning
/
v1
/
storage
/
{id}
/
s3
/
bucket
/
{name}
/
lifecycle
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/storage/provisioning/v1/storage/{id}/s3/bucket/{name}/lifecycle \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"expiration_days": 123
}'
Copy
Ask AI
This response has no body data.
Authorizations
API key for authentication.
Body
application/json
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/storage/provisioning/v1/storage/{id}/s3/bucket/{name}/lifecycle \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"expiration_days": 123
}'
Copy
Ask AI
This response has no body data.
Assistant
Responses are generated using AI and may contain mistakes.