Skip to main content

Delete source ai agents

POST 

/sources/v1/:id/agents-delete

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Use this API to delete all AI agents that were aggregated into the given datasets on a source. Deletion runs as an asynchronous task, and the response contains the task's initial status.

This API returns 400 when the source has no connector instance, when datasetIds is missing or empty, or when a deletion or aggregation is already running for the source.

When agentic identity governance is not enabled for the tenant, or AI agent deletion is not available, this API returns 404.

Request​

Responses​

Accepted. Returns the initial status of the deletion task.