VESPA-DOCUMENT-REMOVE(1)

NAME

vespa-document-remove - Removes a document from Vespa

SYNOPSIS

vespa document remove id | json-file [flags]

DESCRIPTION

Removes the document specified either as a document id or given in the json file. If the document id is specified both as an argument and in the file the argument takes precedence.

OPTIONS

--header=[]
    Add a header to the HTTP request, on the format 'Header: Value'. This can be specified multiple times

-h, --help[=false]
    help for remove

-T, --timeout=60
    Timeout for the document request in seconds

-v, --verbose[=false]
    Print the equivalent curl command for the document operation

-w, --wait=0
    Number of seconds to wait for service(s) to become ready. 0 to disable (default 0)

OPTIONS INHERITED FROM PARENT COMMANDS

-a, --application=""
    The application to use (cloud only). Format "tenant.application.instance" - instance is optional

-C, --cluster=""
    The container cluster to use. This is only required for applications with multiple clusters

-c, --color="auto"
    Whether to use colors in output. Must be "auto", "never", or "always"

-i, --instance=""
    The instance of the application to use (cloud only)

-q, --quiet[=false]
    Print only errors

-t, --target="local"
    The target platform to use. Must be "local", "cloud", "hosted" or an URL

-z, --zone=""
    The zone to use. This defaults to a dev zone (cloud only)

EXAMPLE
    $ vespa document remove src/test/resources/A-Head-Full-of-Dreams-Remove.json
    $ vespa document remove id:mynamespace:music::a-head-full-of-dreams

SEE ALSO

vespa-document(1)