wx-ai prompt-session delete-entry

Deletes a prompt session entry for an ID.

Syntax

cpd-cli wx-ai prompt-session
delete-entry \
--entry=<entry-id> \
--session-id=<session-id>
[--cpd-scope=<cpd-scope>] \
[--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.
--entry Prompt session entry ID. The value must match the regular expression /[a-zA-Z0-9-]*/.
Status
Required.
Syntax
--entry=<entry-id>
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

cpd-cli wx-ai prompt-session
delete-entry \
--session-id exampleString \
--entry exampleString \
--project-id exampleString