Delete multiple bots
DELETE
/api/v1/bots
const url = 'https://renotify.app/api/v1/bots';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ids":[2,3]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://renotify.app/api/v1/bots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ids": [ 2, 3 ] }'Remove several bots in a single request.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
ids
required
The bot IDs to delete.
Array<string>
Example
[ 2, 3]