Enabling unlicensed access to Confluence Cloud spaces via API

Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.

Summary

When Confluence Cloud and Jira Service Management are integrated, there will have an option to open "unlicensed" access for a space, allowing active users (without a Confluence license) to access the instance and view it. From the UI, this permissioncan only be enabled via the Jira Service Management project connected to a Confluence space.

Even without Jira Service Management integrated or a project linked to a space, an API call can be used in order to have such permissions enabled.

Solution

As a space administrator of Confluence, the following REST API call can be used:

WARN ... Exception while getting build number <build-number> of 'jira' from Marketplace :javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

ℹ️ When successful, a message like the following should be displayed:

{"spacePermissions":{"spaceKey":"<SPACE-KEY>","unlicensedViewPermissionEnabled":true,"anonymousViewPermissionEnabled":false},"globalPermissions":{"unlicensedAuthenticatedAccessEnabled":true,"anonymousAccessEnabled":false}}%

Notes

Updated on May 27, 2026

Still need help?

The Atlassian Community is here for you.