unlikePrompt(promptIdentifier: string): Promise<LikePromptResponse>| Name | Type | Description |
|---|---|---|
promptIdentifier* | string |
Unlike a prompt (remove a previously added like).
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`);