# 1个管理员API密钥的2个组ID

**URL:** https://meta.discourse.org/t/2-group-ids-for-1-admin-api-key/267956
**Category:** Development
**Tags:** rest-api
**Created:** [2023年六月11日 20:09 UTC](https://meta.discourse.org/t/2-group-ids-for-1-admin-api-key/267956 "2023-06-11T20:09:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![not-ethan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/not-ethan/32/282617_2.png) [@not-ethan](https://meta.discourse.org/u/not-ethan)
#### Post date: [2023年六月11日 20:09 UTC](https://meta.discourse.org/t/2-group-ids-for-1-admin-api-key/267956/1 "2023-06-11T20:09:47Z")

</div>

我需要对两个组拥有读写访问权限，并且我希望密钥只拥有其所需的权限。我尝试过使用“组 A 的名称”、“组 B 的名称”和“13,53”，但都不起作用。我是否只需要使用两个不同的密钥？
