Prisma Next is in early access.Read the docs
Buckets

Delete bucket

Permanently deletes the bucket with the given ID, all objects stored in it, and all its access keys. This action cannot be undone.

Permanently deletes the bucket with the given ID, all objects stored in it, and all its access keys. This action cannot be undone.

DELETE/v1/buckets/{bucketId}
AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

bucketId*string
Match^(bkt_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Response Body

application/json

application/json

curl -X DELETE "https://api.prisma.io/v1/buckets/string"
Empty