Skip to content

Commit cd12ef7

Browse files
committed
remove otp from insight docs (#6896)
## [Portal] Fix: Remove webhook verification details from documentation ## Notes for the reviewer This PR simplifies the webhooks documentation by removing detailed information about the webhook verification process, including OTP verification steps, URL updating requirements, and the API endpoints for verification and OTP resending. ## How to test Review the updated documentation page to ensure it still provides clear information about the core webhook management functionality without the removed verification details.
1 parent 2832828 commit cd12ef7

File tree

1 file changed

+0
-25
lines changed
  • apps/portal/src/app/insight/webhooks/managing-webhooks

1 file changed

+0
-25
lines changed

apps/portal/src/app/insight/webhooks/managing-webhooks/page.mdx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,43 +24,18 @@ Retrieve all webhooks for your project or get details for a specific webhook by
2424
Creates a new webhook subscription.
2525
It may take up to a minute to start working.
2626

27-
### Verifying the created webhook
28-
- The webhook starts in a suspended state
29-
- An OTP (One-Time Password) is sent to your webhook URL for verification
30-
- You must verify the webhook within 15 minutes using the OTP
31-
- Once verified, it may take up to a minute for the webhook to become fully active
32-
- You can request a new OTP if you can't retrieve the initial OTP
33-
3427
## Update Webhook
3528
`PATCH /v1/webhooks/:webhook_id`
3629

3730
You can modify the URL or filters of a webhook. Additionally you can enable and disable the webhook.
3831
Changes may take up to a minute to take effect.
3932

40-
### Updating webhook URL
41-
- If you update the webhook URL, you'll need to verify it again with a new OTP
42-
- Other fields can be updated without requiring re-verification
4333

4434
## Delete Webhook
4535
`DELETE /v1/webhooks/:webhook_id`
4636

4737
Permanently removes a webhook subscription. This action cannot be undone.
4838

49-
## Verify Webhook
50-
`POST /v1/webhooks/:webhook_id/verify`
51-
52-
Activates a webhook using the OTP code that was sent to your webhook URL. Required for:
53-
- New webhook creation
54-
- After updating a webhook URL
55-
56-
## Resend OTP
57-
`POST /v1/webhooks/:webhook_id/resend-otp`
58-
59-
Request a new OTP code if the original expires or is lost:
60-
- Invalidates the previous OTP
61-
- New OTP expires after 15 minutes
62-
- Only works for webhooks pending verification
63-
6439
## Test Webhook
6540
`POST /v1/webhooks/test`
6641

0 commit comments

Comments
 (0)