DELETE
/
v2
/
bots
/
links
/
public
import requests

url = 'https://api-prod.usefini.com/v2/bots/links/public'
token = "your_api_key_here"
headers = {
    'authorization': 'Bearer token',
}

data = {
    "links": [ link_1, link_2]
}

response = requests.delete(url, json=data, headers=headers)
print(response.json())
{
    "message": "Bot urls updated",
}

Body

links
array
required

List of links to be deleted from your bot. Example [sample_link_1, sample_link_2]

Response

message
string

Indicates whether the URLs were successfully updated.