Revoke the share link
Campaigns
Revoke the share link
Turns the share link off. Anyone who opens it from now on sees that the link has been revoked. Sharing again later makes a new URL.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request DELETE \
--url https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const url = 'https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"object": "campaign_share",
"campaign_id": "cmp_01K79Q4T6W8XZ2B5D7F9H3JKMN",
"revoked": true
}Turns the share link off. Anyone who opens it from now on sees that the link has been revoked. Sharing again later makes a new URL.
curl --request DELETE \
--url https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const url = 'https://sandbox.voice.miraiminds.co/v2/campaigns/{campaign_id}/share';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"object": "campaign_share",
"campaign_id": "cmp_01K79Q4T6W8XZ2B5D7F9H3JKMN",
"revoked": true
}