Toggle webhook learning mode
Enable or disable learning mode for a webhook surface.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Product ID
surfaceId
Surface ID
Request
This endpoint expects an object.
enabled
Response
Learning mode toggled
learningState
observationCount
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error