existscontext deprecated

PACKAGE: open-xchange-admin

NAME

existscontext - Check for context existence.

SYNOPSIS

deletecontext [OPTION]...

DESCRIPTION

This command line tool allows to check whether a context exists. It uses either the id or the name of the context

OPTIONS

-c, --contextid contextId : The context identifier. Mandatory and mutually exclusive with -N.

-N, --contextname contextName : The context name. Mandatory and mutually exclusive with -c.

-A, --adminuser masterAdmin : Master admin user name for authentication. Optional, depending on your configuration.

-P, --adminpass masterAdminPassword : Master admin password for authentication. Optional, depending on your configuration.

-h, --help : Prints a help text.

--environment : Show info about commandline environment.

--nonl : Remove all newlines (\n) from output.

--responsetimeout : The optional response timeout in seconds when reading data from server (default: 0s; infinite).

--inserver : Whether check should be limited to the registered server this provisioning node is running in

EXAMPLES

existscontext -A masterAdmin -P secret -c 1138

Checks if the context with the specified identifier exists.

SEE ALSO

createcontext(1), listcontext(1), changecontext(1), enablecontext(1), disablecontext(1), disableallcontexts(1), enableallcontexts(1), getcontextcapabilities(1)