Delete Single Custom Bot Input
DELETE https://api.unltd.ai/v1/organizations/:organizationId/bots/:botSlug/inputs/:botInputId/
This endpoint deletes a specific BotInput entity that belongs to an organization's Bot, based on the provided organization ID, bot slug and bot input ID.
Path Parameters
organizationId
string
The unique identifier of the organization.
botSlug
string
The unique slug of the organization's bot.
botInputId
string
The unique identifier of the bot's input to be deleted.
Permissions
This request requires authentication as an organization admin.
API Example
const fetch = require('node-fetch');
async function fetchApiData() {
const response = await fetch('https://api.unltd.ai/v1/organizations/example_org_id/bots/example_bot/inputs/example_bot_input_id/', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer ',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
}
fetchApiData();
Response
204 success
The response object will be returned as a message.
{
"message": "BotInput deleted successfully."
}