Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update more docs

Steven Teyb956a9c684a4
diff --git a/apps/docs/api-reference/endpoint/bulk-create-links.mdx b/apps/docs/api-reference/endpoint/bulk-create-links.mdx
index 32b9ac48c0..68c81e6cd7 100644
--- a/apps/docs/api-reference/endpoint/bulk-create-links.mdx
+++ b/apps/docs/api-reference/endpoint/bulk-create-links.mdx
@@ -7,46 +7,4 @@ og:title: 'Bulk create links with the Dub.co API - API Reference'
Bulk link creation does not support the following features: [Link
cloaking](https://dub.co/help/article/link-cloaking),
[Custom social media cards](https://dub.co/help/article/custom-social-media-cards)
-</Warning>
-
-<RequestExample>
-```bash cURL
-curl --request POST \
- --url https://api.dub.co/links/bulk \
- --header 'Authorization: Bearer {YOUR_TOKEN}' \
- --header 'Content-Type: application/json' \
- --data '[
- {
- "domain": "yourdomain.com",
- "url": "https://www.youtube.com/"
- },
- {
- "domain": "yourdomain.com",
- "url": "https://www.google.com/"
- }
- ...
- ]'
-```
-```javascript JavaScript
-const options = {
- method: 'POST',
- headers: {Authorization: 'Bearer {YOUR_TOKEN}', 'Content-Type': 'application/json'},
- body: JSON.stringify([
- {
- "domain": "yourdomain.com",
- "url": "https://www.youtube.com/"
- },
- {
- "domain": "yourdomain.com",
- "url": "https://www.google.com/"
- },
- ...
- ])
-};
-
-fetch('https://api.dub.co/links/bulk', options)
- .then(response => response.json())
- .then(response => console.log(response))
- .catch(err => console.error(err));
-```
-</RequestExample>
\ No newline at end of file
+</Warning>
\ No newline at end of file