Skip to main content
PATCH
/
sensitive-trace-endpoints
/
{endpoint_id}
Update sensitive trace endpoint
curl --request PATCH \
  --url https://api.prequel.co/sensitive-trace-endpoints/{endpoint_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "sensitive_trace_endpoint": {
    "name": "<string>",
    "description": "<string>",
    "url": "<string>",
    "header_template": "<string>",
    "secret": "<string>",
    "body_template": "<string>"
  }
}
'
{
  "status": "<string>",
  "data": {
    "sensitive_trace_endpoint": {
      "id": "<string>",
      "name": "<string>",
      "url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "header_template": "<string>",
      "body_template": "<string>"
    }
  },
  "message": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

endpoint_id
string
required

Sensitive trace endpoint ID.

Body

application/json
sensitive_trace_endpoint
object
required

Response

OK

status
string
required
Allowed value: "success"
data
object
required
message
string
required