DELETE databases/:database_name/hosts/:host_id
Creates a job to remove the host identified by :host_id from the database identified by :database_name.
Creates a job to remove the host identified by :host_id
from the database identified by :database_name
. The :database_name
is the value of the name field that the GET databases command returns. The :host_id
is the value of the host field returned by GET databases/:database_name.
Returns a job ID that you can use to determine the status of the job. See GET jobs.
Resource URL
https://<NODE>:5444/databases/:database_name/hosts/:host_id
Authentication
Requires a VerticaAPIKey in the request header.
The API key must have admin level security.
Parameters
user_id |
A database username. |
passwd |
A password for the username. |
Example request
DELETE |
https:// |
Response:
{
"id": "RemoveHostFromDatabase-testDB-2014-07-20 13:41:15.646235",
"url": "/jobs/RemoveHostFromDatabase-testDB-2014-07-20 13:41:15.646235"
}