We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639d50d commit 102d24eCopy full SHA for 102d24e
apps/sim/app/api/tools/confluence/labels/route.ts
@@ -237,7 +237,7 @@ export async function DELETE(request: NextRequest) {
237
}
238
239
const encodedLabel = encodeURIComponent(labelName.trim())
240
- const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label/${encodedLabel}`
+ const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label?name=${encodeURIComponent(labelName.trim())}`
241
242
const response = await fetch(url, {
243
method: 'DELETE',
0 commit comments