[[delete-connector-api]]
=== Delete connector API
++++
Delete connector
++++
Deletes an connector by ID.
WARNING: When you delete a connector, _it cannot be recovered_.
[[delete-connector-api-request]]
==== Request
`DELETE :/api/actions/connector/`
`DELETE :/s//api/actions/connector/`
[[delete-connector-api-path-params]]
==== Path parameters
`id`::
(Required, string) The ID of the connector.
`space_id`::
(Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used.
[[delete-connector-api-response-codes]]
==== Response code
`200`::
Indicates a successful call.
==== Example
[source,sh]
--------------------------------------------------
$ curl -X DELETE api/actions/connector/c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad
--------------------------------------------------
// KIBANA