Create bucket
POST/v1/buckets
Creates a new object-store bucket in the specified project.
AuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
Section titled “application/json”application/json
Section titled “application/json”application/json
Section titled “application/json”application/json
Section titled “application/json”application/json
Section titled “application/json”application/json
Section titled “application/json”application/json
Section titled “application/json”curl -X POST "https://example.com/v1/buckets" \
-H "Content-Type: application/json" \
-d '{
"projectId": "string"
}'{
"data": {
"id": "string",
"type": "bucket",
"url": "http://example.com",
"name": "string",
"providerName": "string",
"status": "string",
"createdAt": "2019-08-24T14:15:22Z",
"project": {
"id": "string",
"url": "http://example.com",
"name": "string"
},
"branchId": "string",
"logicalId": "string"
}
}