Flag links (beta)

Update flag link

PATCH
/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}

Update a flag link. Updating a flag link uses a JSON patch representation of the desired changes. To learn more, read Updates.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string

The project key

Formatstring
featureFlagKey*string

The feature flag key

Formatstring
id*string

The flag link ID

Formatstring

Request Body

application/json

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/flag-links/projects/string/flags/string/string" \  -H "Content-Type: application/json" \  -d '[    {      "op": "replace",      "path": "/title",      "value": "Updated flag link title"    }  ]'
{  "_links": {    "property1": {      "href": "string",      "type": "string"    },    "property2": {      "href": "string",      "type": "string"    }  },  "_key": "flag-link-key-123abc",  "_integrationKey": "string",  "_id": "1234a56b7c89d012345e678f",  "_deepLink": "https://example.com/archives/123123123",  "_timestamp": "{\"milliseconds\": 1655342199935, \"seconds\": 1655342199, \"rfc3339\": \"2022-06-16T01:16:39Z\", \"simple\": \"2022-06-16 01:16:39\"}",  "title": "Example link title",  "description": "Example link description",  "_metadata": {    "property1": "string",    "property2": "string"  },  "_createdAt": "1654104600000",  "_member": {    "_links": {      "property1": {        "href": "string",        "type": "string"      },      "property2": {        "href": "string",        "type": "string"      }    },    "_id": "string",    "firstName": "string",    "lastName": "string"  }}