Buckets

Create bucket

Creates a new object-store bucket in the specified project.

post/v1/buckets

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/buckets
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Request body

projectIdstring required

ID of the project to create the bucket in

namestring

Display name for the bucket. Generated if omitted.

branchIdstring

ID of the branch to associate the bucket with. Mutually exclusive with branchGitName.

branchGitNamestring

Git name of the branch to associate the bucket with. Mutually exclusive with branchId.

logicalIdstring

Declared identity of the resource, unique within its branch. Set by the tool that declares the resource.

Response

Created a new bucket.

Changes

No recorded changes to this operation across all 1 revision of this API.