---
title: "Generate space permission combinations"
method: POST
path: "/space-permissions/transition/combinations"
tags: ["Space Permission Transition"]
---

# Generate space permission combinations

`POST /space-permissions/transition/combinations`

Submits a task to refresh the space permission combinations in the database, which identifies
all unique permission combinations across the site. This provides permission combination IDs
that can be used with the assign-roles and remove-access endpoints.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
User must be a Confluence administrator.

## Response `202`

Returned if the generation task is successfully submitted.

- BulkTransitionTaskResponse
  - `taskId` string, required — The ID of the async task.
  - `status` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required — The current status of the task.
  - `statusUrl` string, required — URL to poll for task progress.

## Other responses

- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `404` — Returned if the calling user does not have permission or the resource is not found.

---

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