# Feature OP-19709 - OP Administration: Granular control and audit history for REST API access

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-19709

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 3 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | API, Administration / User administration |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Description:**  
In _Administration &gt; API and webhooks &gt; API, REST API_ access can currently only be enabled system-wide.

**This is risky** for production systems, because once the REST API is enabled, **every user** can generate API keys.&nbsp;  
Users may then interact with the production system through the API without the OpenProject administrator being aware of it.

**Feature request:**  
Please add more granular control options for REST API access and API key generation.

**Expected behavior:**  
OpenProject administrators should be able to control REST API access by:  
\- User  
\- Group  
\- Project

**Administrators should also be notified when a user generates an API key.**

**Additional context:**  
An API key history or audit overview would be very helpful. Administrators should be able to see which users generated API keys and when. This would improve transparency, control, and security in production environments.
