PATCH/api/v2/projects/projectKey/layers/layerKey
Path Parameters
Body Parameters
View in API Reference
Request
1import requests
2
3# Update layer (PATCH /api/v2/projects/:projectKey/layers/:layerKey)
4response = requests.patch(
5 "https://app.launchdarkly.com/api/v2/projects/projectKey/layers/layerKey",
6 headers={
7 "Authorization": ""
8 },
9 json={
10 "comment": "Example comment describing the update",
11 "environmentKey": "production"
12 },
13)
14
15print(response.json())
Response