3.5.7. Delete bundle version
DELETE /bundles/{bundleId}/versions/{version}
Description
Deletes the given extension bundle version and it's associated binary content.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bundleId required |
The extension bundle identifier |
string |
Path |
version required |
The version of the bundle |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
BundleVersion |
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 |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Authorization |
Example HTTP request
Request path
/bundles/string/versions/string
Example HTTP response
Response 200
{
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"versionMetadata" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"id" : "string",
"bundleId" : "string",
"bucketId" : "string",
"groupId" : "string",
"artifactId" : "string",
"version" : "string",
"timestamp" : 0,
"author" : "string",
"description" : "string",
"sha256" : "string",
"sha256Supplied" : true,
"contentSize" : 0,
"systemApiVersion" : "string",
"buildInfo" : {
"buildTool" : "string",
"buildFlags" : "string",
"buildBranch" : "string",
"buildTag" : "string",
"buildRevision" : "string",
"built" : 0,
"builtBy" : "string"
}
},
"dependencies" : [ {
"groupId" : "string",
"artifactId" : "string",
"version" : "string"
} ],
"bundle" : {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"description" : "string",
"bucketIdentifier" : "string",
"bucketName" : "string",
"createdTimestamp" : 0,
"modifiedTimestamp" : 0,
"type" : "string",
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"bundleType" : "string",
"groupId" : "string",
"artifactId" : "string",
"versionCount" : 0
},
"bucket" : {
"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
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
},
"filename" : "string"
}