Delete Agent Overlay
DELETE
/api/v3/organizations/{organisation}/ai/agents/{agentId}/overlay
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/agents/example/overlay';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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://dashboard.quantcdn.io/api/v3/organizations/example/ai/agents/example/overlay \ --header 'Authorization: Bearer <token>'Removes the per-organisation overlay for a global agent, reverting it to platform defaults.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
agentId
required
string
Global agent identifier
Responses
Section titled “Responses”Overlay deleted — agent reverted to defaults
Media typeapplication/json
object
success
boolean
message
string
Example
{ "success": true, "message": "Agent reverted to defaults"}Access denied
Not a global agent
Failed to reset overlay
