Admin API keys can be scoped at the Environment level. A few notes:
- You can still create a global Admin API key.
- All Admin API keys are subject to approvals that are set on an environment. If you have approvals required in an environment, changes made via the API will need to be approved as defined in that environment.
- All Admin API keys can add feature flags and segments and make changes in environments with editing permissions set, similar to Administrators.
- When you create a feature flag or a segment you first create a meta object. A meta-feature-flag or meta-segment is not associated with any specific environment. As a result, there is no restriction on adding, deleting, or getting information about a meta-feature-flag or meta-segment across Environments and Workspaces. However, unless you have a key for an environment you cannot add rules to a feature flag or IDs to a segment for that environment. If a feature flag or segment has a definition in an environment, you cannot delete it unless you have a key for that environment.
Comments
0 comments
Please sign in to leave a comment.