Update an API key's org scope
PUT/api/settings/api-keys/:id/orgs
Replaces the list of organizations an API key is authorized to act on behalf of. The user must own the key and be a member of all supplied orgs. Requires at least one org.
Request
Responses
- 200
- 400
- 401
- 404
Org scope updated
Empty org list or org not in membership
Unauthorized
Key not found or not owned by user