---
title: "Get restrictions by operation"
method: GET
path: "/wiki/rest/api/content/{id}/restriction/byOperation"
tags: ["Content restrictions"]
---

# Get restrictions by operation

`GET /wiki/rest/api/content/{id}/restriction/byOperation`

Returns restrictions on a piece of content by operation. This method is
similar to [Get restrictions](#api-content-id-restriction-get) except that
the operations are properties of the return object, rather than items in
a results array.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
Permission to view the content.

## Path parameters

- `id` string, required

## Query parameters

- `expand` string[]

## Response `200`

Returned if the requested restrictions are returned.

- object

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api/revisions/70088490f406/schema)
