3.3.5. Delete bucket flow
DELETE /buckets/{bucketId}/flows/{flowId}
Description
Deletes a flow, including all saved versions of that flow.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
bucketId required |
The bucket identifier |
string |
Path |
flowId required |
The flow identifier |
string |
Query |
clientId optional |
If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. |
string |
Query |
version required |
The version is used to verify the client is working with the latest version of the entity. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
|
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
/buckets/string/flows/string
Request query
{
"clientId" : "string",
"version" : "string"
}
Example HTTP response
Response 200
{
"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
},
"versionCount" : 0,
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
}