Hello,
Overview
- I am trying to get the descendants of a folder in my Confluence space
- When I create an API Token with no scopes (so all permissions) it works. However, when I create one with scopes it does not, as the permissions needed in the documentation is not shown in the console when creating the token
Information
- Confluence API Documentation for descendants: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-descendants/#api-folders-id-descendants-get
read:hierarchical-content:confluence
is not shown in the API token creation console
- Applying every Classic permission type also returns a 401 response
Failed for folder REDACTED: 401 - <!doctype html><html lang="en"><head><title>HTTP Status 401 – Unauthorized</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 401 – Unauthorized</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Basic Authentication Failure</p><p><b>Description</b> The request has not been applied to the target resource because it lacks valid authentication credentials for that resource.</p><hr class="line" /><h3>Apache Tomcat/9.0.105</h3></body></html>
Question
Am I missing something, or is this permission just not available using scoped API tokens?