---
title: "Add user project access to collection"
method: POST
path: "/collections/user_project_access"
tags: ["Collections"]
---

# Add user project access to collection

`POST /collections/user_project_access`

Grant user access to projects within a collection

## Request body

- UserCollectionAccess
  - `collection_id` integer
  - `user_id` integer
  - `permissions` 'view' | 'edit' | 'admin' — Single collection ACL role per grant (stored as one value in `editor_collection_acl.permissions`).

## Response `200`

successful operation

## Changes

> 12 revisions in range; 1 could not be searched.

- **2026-04-24** `d104f221ab66` — 2 breaking, 3 info
  - request property `permissions` was restricted to a list of enum values
  - the `permissions` request property type/format changed from `array`/`` to `string`/``
  - added the new `admin` enum value to the request property `permissions`
  - added the new `edit` enum value to the request property `permissions`
  - …1 more
- **2026-02-23** `5bfc4d9dc1c8` — 4 breaking
  - removed the enum value `admin` of the request property `permissions`
  - removed the enum value `edit` of the request property `permissions`
  - removed the enum value `view` of the request property `permissions`
  - the `permissions` request property type/format changed from `string`/`` to `array`/``

[Change history](https://skmtc.dev/worldbank/apis/metadata-editor-api/changes/collections/user_project_access/post.md)

---

[API](https://skmtc.dev/worldbank/apis/metadata-editor-api.md) · [All operations](https://skmtc.dev/worldbank/apis/metadata-editor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worldbank/metadata-editor-api/revisions/f4c8258bab5a/schema)
