Confluence Content restrictions API

The Content restrictions API from Confluence — 5 operation(s) for content restrictions.

Business capability
Identity & Access Management BC-620.20

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /wiki/rest/api/content/{id}/restriction List the restrictions on content · Get restrictions #
Ask an LLM
“Who is restricted from viewing or editing a particular page?”
“Can I see all read and update restrictions on a piece of content as a list?”
Tell an agent
List the restrictions on content {id}.
Show up to {limit} restrictions on page {id}.
PUT /wiki/rest/api/content/{id}/restriction Replace all restrictions on content · Update restrictions #
Ask an LLM
“How do I overwrite a page's existing restrictions with a new set?”
“Will replacing restrictions remove the ones already on the content?”
Tell an agent
Replace the restrictions on content {id} with a new set.
Overwrite every existing restriction on page {id}.
POST /wiki/rest/api/content/{id}/restriction Add restrictions to content · Add restrictions #
Ask an LLM
“Can I add a restriction to a page without touching the restrictions already there?”
“What's the way to layer extra view or edit restrictions onto content?”
Tell an agent
Add restrictions to content {id}, keeping the existing ones.
Append new read or update restrictions to page {id}.
DELETE /wiki/rest/api/content/{id}/restriction Remove all restrictions from content · Delete restrictions #
Ask an LLM
“How do I clear every read and edit restriction from a page?”
“Can I open a restricted page back up to everyone in the space?”
Tell an agent destructive · confirm first
Remove all restrictions from content {id}.
Lift every read and update restriction on page {id}.
GET /wiki/rest/api/content/{id}/restriction/byOperation Get content restrictions grouped by operation · Get restrictions by operation #
Ask an LLM
“Can I see a page's restrictions organised by read versus update?”
“Which restrictions apply to viewing a page and which to editing it?”
Tell an agent
Get the restrictions on content {id} grouped by operation.
Break down page {id}'s restrictions into read and update.
GET /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey} Get content restrictions for one operation · Get restrictions for operation #
Ask an LLM
“Who exactly is allowed to edit a restricted page?”
“Can I list only the read restrictions on a piece of content?”
Tell an agent
Show the {operationKey} restrictions on content {id}.
List up to {limit} {operationKey} restrictions for page {id}.
GET /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId} Check if a group is in a content restriction · Get content restriction status for group #
Ask an LLM
“Does a particular group have read access under a page's restriction?”
“Can I check whether a group is included in an edit restriction on content?”
Tell an agent
Check whether group {groupId} is in the {operationKey} restriction on content {id}.
Confirm if the {operationKey} restriction on page {id} applies to group {groupId}.
PUT /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId} Grant a group access via a content restriction · Add group to content restriction #
Ask an LLM
“How do I let one group edit a page that's otherwise restricted?”
“Can I add a group to a page's read restriction by its group ID?”
Tell an agent
Add group {groupId} to the {operationKey} restriction on content {id}.
Give group {groupId} {operationKey} permission on restricted page {id}.
DELETE /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId} Remove a group from a content restriction · Remove group from content restriction #
Ask an LLM
“How do I take a group off a page's view restriction?”
“Can I revoke one group's edit access on restricted content?”
Tell an agent destructive · confirm first
Remove group {groupId} from the {operationKey} restriction on content {id}.
Revoke group {groupId}'s {operationKey} permission on page {id}.
GET /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user Check if a user is in a content restriction · Get content restriction status for user #
Ask an LLM
“Is a specific person allowed through a page's read restriction?”
“Can I check whether a user's account is part of an edit restriction?”
Tell an agent
Check whether user {accountId} is in the {operationKey} restriction on content {id}.
Confirm if the {operationKey} restriction on page {id} applies to account {accountId}.
PUT /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user Grant a user access via a content restriction · Add user to content restriction #
Ask an LLM
“How do I let one person view a page that's restricted?”
“Can I add a single user to a page's edit restriction?”
Tell an agent
Add user {accountId} to the {operationKey} restriction on content {id}.
Give account {accountId} {operationKey} permission on restricted page {id}.
DELETE /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user Remove a user from a content restriction · Remove user from content restriction #
Ask an LLM
“How do I take one person off a page's restriction?”
“Can I revoke a specific user's view access on restricted content?”
Tell an agent destructive · confirm first
Remove user {accountId} from the {operationKey} restriction on content {id}.
Revoke account {accountId}'s {operationKey} permission on page {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/confluence:confluence-content-restrictions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

confluence-content-restrictions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluence Cloud REST Content restrictions API
  description: This document describes the REST API and resources provided by Confluence.
  termsOfService: https://atlassian.com/terms/
  version: 1.0.0
servers:
- url: //your-domain.atlassian.net
tags:


# --- truncated at 32 KB (87 KB total) ---
# Full source: https://artifacts.apis.io/confluence/openapi/confluence-content-restrictions-api-openapi.yml