Remove a search connection
curl --request DELETE \
--url https://api.1-news.app/v1/projects/{projectId}/webmasters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({provider: '<string>'})
};
fetch('https://api.1-news.app/v1/projects/{projectId}/webmasters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/webmasters"
payload = { "provider": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"ok": true
}Search
Remove a search connection
Remove a Google, Bing, or Brave verification from a newsroom.
DELETE
/
v1
/
projects
/
{projectId}
/
webmasters
Remove a search connection
curl --request DELETE \
--url https://api.1-news.app/v1/projects/{projectId}/webmasters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({provider: '<string>'})
};
fetch('https://api.1-news.app/v1/projects/{projectId}/webmasters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/webmasters"
payload = { "provider": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"ok": true
}