You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/AccountMembersApi.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -377,7 +377,7 @@ Name | Type | Description | Notes
377
377
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
378
378
379
379
# **post_member_teams**
380
-
> Member post_member_teams(id, member_teams_form_post)
380
+
> Member post_member_teams(id, member_teams_post_input)
381
381
382
382
Add member to teams
383
383
@@ -396,7 +396,7 @@ from launchdarkly_api.model.forbidden_error_rep import ForbiddenErrorRep
396
396
from launchdarkly_api.model.member import Member
397
397
from launchdarkly_api.model.rate_limited_error_rep import RateLimitedErrorRep
398
398
from launchdarkly_api.model.unauthorized_error_rep import UnauthorizedErrorRep
399
-
from launchdarkly_api.model.member_teams_form_postimportMemberTeamsFormPost
399
+
from launchdarkly_api.model.member_teams_post_inputimportMemberTeamsPostInput
400
400
from launchdarkly_api.model.status_conflict_error_rep import StatusConflictErrorRep
401
401
from pprint import pprint
402
402
# Defining the host is optional and defaults to https://app.launchdarkly.com
@@ -421,16 +421,16 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
Copy file name to clipboardExpand all lines: docs/EnvironmentsApi.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
191
191
192
192
Update environment
193
193
194
-
> ### Approval settings > > The `approvalSettings` key is only returned when the Flag Approvals feature is enabled. > > Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. > > If you try to patch the environment by setting both `required` and `requiredApprovalTags`, it fails and an error appears. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates by either mechanism.
194
+
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**not_resources** | **[str]** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional]
10
+
**actions** | **[str]** | Actions to perform on a resource | [optional]
11
11
**not_actions** | **[str]** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
12
12
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**not_resources** | **[str]** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional]
10
+
**actions** | **[str]** | Actions to perform on a resource | [optional]
11
11
**not_actions** | **[str]** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
12
12
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Copy file name to clipboardExpand all lines: launchdarkly_api/api/environments_api.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -551,7 +551,7 @@ def patch_environment(
551
551
):
552
552
"""Update environment # noqa: E501
553
553
554
-
> ### Approval settings > > The `approvalSettings` key is only returned when the Flag Approvals feature is enabled. > > Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. > > If you try to patch the environment by setting both `required` and `requiredApprovalTags`, it fails and an error appears. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates by either mechanism. # noqa: E501
554
+
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism. # noqa: E501
555
555
This method makes a synchronous HTTP request by default. To make an
not_resources ([str]): Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field.. [optional] # noqa: E501
153
+
actions ([str]): Actions to perform on a resource. [optional] # noqa: E501
154
154
not_actions ([str]): Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field.. [optional] # noqa: E501
not_resources ([str]): Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field.. [optional] # noqa: E501
242
+
actions ([str]): Actions to perform on a resource. [optional] # noqa: E501
245
243
not_actions ([str]): Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field.. [optional] # noqa: E501
0 commit comments