delete-endpoint
Delete an endpoint entry from the configuration file.
Description
The delete-endpoint
command deletes a endpoint entry from the
configuration file.
Options
Option | Description |
---|---|
|
(Optional) Fauna server domain, which is the Fauna hostname. |
|
(Optional) Endpoint name to use for the command. |
|
(Optional) Connection port. |
|
(Optional) Connection scheme. Must be one of: |
|
(Optional) Secret to use to connect to a database. |
|
(Optional) connection timeout, in milliseconds.
When the interval elapses, |
|
(Optional) Fauna Query Language version |
Example
For the following example, the
configuration file
includes an entry for the endpoint whose alias is localhost
:
default=db2
[localhost]
domain=127.0.0.1
port=8443
scheme=http
secret=secret
[cloud]
domain=db.fauna.com
scheme=https
secret=fnADS@PxN@2CE@n7z@kDa4_p6Z@fIBaZm@Qt@bYT
[db2]
domain=private.example
port=8443
scheme=https
secret=MY_ORGANIZATION_SECRET
Run fauna delete-endpoint
to delete the endpoint whose alias
is localhost
.
fauna delete-endpoint localhost
Are you sure you want to delete the 'localhost' endpoint? [y/n]: y
This removes the localhost
endpoint entry from configuration file.
The updated configuration file should resemble:
default=db2
[cloud]
domain=db.fauna.com
scheme=https
secret=fnADS@PxN@2CE@n7z@kDa4_p6Z@fIBaZm@Qt@bYT
[db2]
domain=private.example
port=8443
scheme=https
secret=MY_ORGANIZATION_SECRET
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!