Home > @uniformdev/canvas > PromptClient > upsert

PromptClient.upsert() method

Updates or creates (based on id) a Prompt

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

body

</td><td>

ExceptProject<PromptsPutParameters>

</td><td>

</td></tr> </tbody></table> Returns:

Promise<void>