wx-ai prompt-session update

Updates a prompt session for an ID.

Syntax

cpdctl wx-ai prompt-session update \
--session-id SESSION-ID
[--cpd-scope CPD-SCOPE] \
[--description DESCRIPTION] \
[--name NAME] \
[--project-id PROJECT-ID] \

Options

Table 1: Command options
Option Description
--cpd-scope The IBM Software Hub space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
Status
Optional.
Syntax
--cpd-scope=<cpd-scope>
Input type
string
Default value
No default.
--description A description of the deployment.
Status
Optional.
Syntax
--description=<deployment-description>
Default value
No default.
--name Specify the name of the deployment.
Status
Required.
Syntax
--name=<deployment-name>
Default value
No default.
Input type
string
--project-id The project that contains the deployment. Either space_id or project_id must be given.
Status
Optional.
Syntax
--project-id=<project-id>
Input type
string
Default value
No default.
--session-id Prompt Session ID. The value must match the regular expression /[a-zA-Z0-9-]*/.
Status
Optional.
Syntax
--session-id=<session-id>
Default value
No default.
Input type
string

Examples

cpdctl wx-ai prompt-session update \
    --session-id exampleString \
    --name 'Session 1' \
    --description 'My First Prompt Session' \
    --project-id exampleString