Unlink the live sheet (leaves the sheet in the client Drive)
curl --request DELETE \
--url https://api.pineyard.ai/campaigns/{id}/sheet \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/campaigns/{id}/sheet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/campaigns/{id}/sheet"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Live sheet
Unlink the live sheet (leaves the sheet in the client Drive)
DELETE
/
campaigns
/
{id}
/
sheet
Unlink the live sheet (leaves the sheet in the client Drive)
curl --request DELETE \
--url https://api.pineyard.ai/campaigns/{id}/sheet \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/campaigns/{id}/sheet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/campaigns/{id}/sheet"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Required scope:
intel.view, and API keys additionally need campaigns.delete.
Requires a plan that includes business intelligence (basic tier). Otherwise the request is refused; see Errors.

