We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4b925 commit 51bc5b5Copy full SHA for 51bc5b5
apps/sim/app/api/tools/confluence/labels/route.ts
@@ -236,8 +236,7 @@ export async function DELETE(request: NextRequest) {
236
return NextResponse.json({ error: cloudIdValidation.error }, { status: 400 })
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