Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Delete bucket key

DELETE/v1/buckets/{bucketId}/keys/{keyId}Delete bucket key

Revokes and deletes the bucket key with the given ID.

Parameters

bucketIdstringpathrequired

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

keyIdstringpathrequired

pattern ^(bkey_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Responses

204Deleted the bucket key successfully.
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Bucket key not found or does not belong to the given bucket.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
413Request body exceeds this endpoint's size cap.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu