Update Endpoint
PUT/api/v1/endpoints/:endpoint_id
Updates the search endpoint given by the unique identifier.
The update replaces the endpoint's stored authentication credentials with those given in authentication, or
removes them with { "type": "none" }; without authentication the stored credentials are kept.
Stored credentials are only sent to the scheme, host and port of the URL they were saved with. An update that
changes the URL's scheme, host or port while the endpoint has credentials stored is refused with 400 Bad Request
unless it gives authentication too.
Request
Responses
- 200
- 400
- 404
OK
Bad Request
Not Found