Update a feature

Updates the specified feature by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

PATCH/v3/features/{id}
JWT
feature:write

Parameters

NameTypeInDescription
id*stringpathUnique identifier for the feature.

Request Body Schema

PropertyTypeDescriptionConstraints
displayNamestringmin: 1, max: 256
descriptionstringmin: 0, max: 256

Request Example

{
  "displayName": "string",
  "description": "string"
}
Triggers webhook: feature.updated
POST <your-webhook-url>
{
  "event": "feature.updated",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "displayName": "string",
    "description": "string"
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "name": "string",
  "displayName": "string",
  "description": "string"
}