Connection delete package¶
The connection delete package deletes a connection and all its related assets.
Soft-delete (archive) assets¶
To soft-delete (archive) all assets in a connection:
Archive assets | |
---|---|
1 2 3 4 |
|
- The
ConnectionDelete
package will create a workflow to delete a connection and its assets using thecreator()
method. - You must provide the
qualifiedName
of the connection to delete... - ...and to archive (soft-delete) the connection and its assets, specify
false
as the second parameter. -
You can then run the workflow using the
run()
method on the object you've created.Workflows run asynchronously
Remember that workflows run asynchronously. See the packages and workflows introduction for details on how you can check the status and wait until the workflow has been completed.
Coming soon
Hard-delete (purge) assets¶
Permanent and irreversible
A hard-delete (purge) is permanent and irreversible. Be certain that you want to entirely remove all of the assets in a connection before running in this way!
To hard-delete (purge) all assets in a connection:
Archive assets | |
---|---|
1 2 3 4 |
|
- The
ConnectionDelete
package will create a workflow to delete a connection and its assets using thecreator()
method. - You must provide the
qualifiedName
of the connection to delete... - ...and to purge (hard-delete) the connection and its assets, specify
true
as the second parameter. -
You can then run the workflow using the
run()
method on the object you've created.Workflows run asynchronously
Remember that workflows run asynchronously. See the packages and workflows introduction for details on how you can check the status and wait until the workflow has been completed.
Coming soon