v1
latestSwagger 2.02026-08-04232286653.5 KBS3Buckets
Creates an S3 bucket in the project and returns the created bucket.
post/projects/{project_id}/storage/s3/buckets
Path parameters
project_idstring required
ID of the project to create the bucket in.
Request body
Example request
{
"location": "us-eaststaging1-a",
"name": "my-new-bucket",
"retention_period": 30
}Response
Example response
{
"archived_at": "2021-12-03T19:58:34Z",
"bucket_size": 2.42,
"created_at": "2021-12-03T19:58:34Z",
"location": "us-eaststaging1-a",
"name": "my-awesome-bucket",
"project_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
"retention_period": 30,
"s3_url": "https://object.us-eaststaging7-b.crusoecloudcompute.com/my-first-bucket",
"updated_at": "2021-12-03T19:58:34Z",
"user_id": "S3U_..."
}