3.4.6. Delete bucket
DELETE /buckets/{bucketId}
Description
Deletes the bucket with the given id, along with all objects stored in the bucket
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId required |
The bucket identifier |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
Bucket |
400 |
NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification. |
No Content |
401 |
Client could not be authenticated. |
No Content |
403 |
Client is not authorized to make this request. |
No Content |
404 |
The specified resource could not be found. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Authorization |
Example HTTP request
/buckets/string
Example HTTP response
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
}