## zowe › profiles › update › ops-profile

The OPS Web Services session profile schema, where you specify your session information and credentials

Warning: This command has been deprecated.
Recommended replacement: The 'config set' command

#### Usage

zowe profiles update ops-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specifies the name of the new ops profile. You can load this profile by using the name on commands that support the "--ops-profile" option.

#### OPS WEB SERVICES CONNECTION OPTIONS

- `--host` (string)

  - The hostname of the server where OPS Web Services is running.

- `--port` | `-p` (number)

  - The port number for OPS Web Services.

- `--user` (string)

  - Your z/OS user name used to authenticate to OPS Web Services

- `--password` | `--pass` (string)

  - Your z/OS password used to authenticate to OPS Web Services

- `--protocol` | `--prot` (string)

  - The protocol used for connecting to OPS Web Services

    Allowed values: http, https

- `--reject-unauthorized` | `--ru` (boolean)

  - If set to true, the server certificate is verified against the list of supplied CAs. If set to false, certificate verification is not performed.

- `--subsystem` | `--subs` (string)

  - Specifies the subsystem id of the OPS/MVS instance to which commands will be directed.

#### Examples

- Update an OPS profile called 'myLPAR' to connect to OPS Web Services at host lpar456:

  - `zowe profiles update ops-profile myLPAR --host lpar456`

- Update an OPS profile called 'myLPAR' to have username user101 with password Km5sv78:

  - `zowe profiles update ops-profile myLPAR --user user101 --password Km5sv78`