From 0b85338ac9784b8d03b4d651d306e7b210ad2055 Mon Sep 17 00:00:00 2001 From: Richard Treier Date: Fri, 29 Sep 2023 16:37:07 +0200 Subject: [PATCH] chore: update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 86cf12eb..db26877b 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,19 @@ curl --request PUT \ --data '["https://some-new-connector/api/v1/ids/data", "https://some-other-new-connector/api/v1/ids/data"]' ``` +#### Removing Connectors at runtime + +Connectors can be dynamically removed at runtime by using the following endpoint: + +```shell script +# Response should be 204 No Content +curl --request DELETE \ + --url 'http://localhost:11002/backend/api/v1/management/wrapper/broker/connectors?adminApiKey=DefaultBrokerServerAdminApiKey' \ + --header 'Content-Type: application/json' \ + --header 'X-Api-Key: ApiKeyDefaultValue' \ + --data '["https://some-connector-to-be-removed/api/v1/ids/data", "https://some-other-connector-to-be-removed/api/v1/ids/data"]' +``` +

(back to top)

## License