PATCH
/
insights
/
{id}
curl --request PATCH \
  --url https://productlane.com/api/v1/insights/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "title": "<string>",
  "painLevel": "UNKNOWN",
  "projectId": "<string>",
  "notify": {
    "slack": true,
    "email": true
  },
  "state": "NEW"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
text
string
Minimum length: 1
title
string
painLevel
enum<string>
Available options:
UNKNOWN,
LOW,
MEDIUM,
HIGH
projectId
string
notify
object
state
enum<string>
Available options:
NEW,
PROCESSED,
COMPLETED,
SNOOZED,
UNSNOOZED

Response

200
application/json
Successful response

The response is of type any.