此内容没有您所选择的语言版本。
6.3. Removing a Repository
Repositories can be removed using any of the following procedures.
Removing a Repository from Business Central
The simplest way to remove a repository is using the Business Central .
Procedure 6.3. Using Business Central to Remove a Repository
- Access the in Business Central
. - Select from the tree menu on the left.
- In the on the right, locate the repository to be deleted from the list of available repositories.
- Select from the drop-down menu, and click the button.
- The following message will appear:
Are you sure you want to remove Repository "<$RepositoryName>"? Some editors may become inoperable if their content is inaccessible.Press to delete.
Removing a Repository using the kie-config-cli Tool
Repositories can be removed using the
kie-config-cli tool via the remove-repo command.
For more information about the
kie-config-cli tool, see Chapter 3, Command line configuration.
Removing a Repository using the REST API
To remove a repository from the Knowledge Store, issue the
DELETE REST API call. This call relies on the user having created an authenticated HTTP session before issuing this command.
Example 6.1. Removing a repository using curl
curl -H 'Accept: application/json' -H 'Content-Type: application/json' -X DELETE 'localhost:8080/business-central/rest/repositories/REPOSITORY_NAME'