## zowe › profiles › update › mq-profile

An MQREST profile is required to issue commands in the MQ command group that interacts with MQSC. The mq profile contains your host, port, user name, and password for the IBM MQ System Console interface

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

#### Usage

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

#### Positional Arguments

- `profileName` (string)

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

#### MQ Connection Options

- `--host` | `-H` (string)

  - The host name used to access the IBM MQ REST API. This might be the host name of the IBM MQ mqweb server, or the Zowe API Mediation Layer..

- `--port` | `-P` (number)

  - The port number used to access the IBM MQ REST API. This might be the port number of the IBM MQ mqweb server, or the Zowe API Mediation Layer.

- `--user` | `-u` (string)

  - The mainframe (MQ) user name, which can be the same as your TSO login.

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

  - The mainframe (MQ) password, which can be the same as your TSO password.

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

  - Reject self-signed certificates.

- `--protocol` (string)

  - Specifies the MQ protocol (http or https).

    Allowed values: http, https