Unlike a prompt (remove a previously added like).
unlikePrompt(promptIdentifier: string): Promise<LikePromptResponse>| Name | Type | Description |
|---|---|---|
promptIdentifier* | string | The identifier of the prompt. Can be in the format:
|
// Unlike a prompt
const response = await client.unlikePrompt("owner/useful-prompt");
console.log(`Prompt now has ${response.likes} likes`);