Skip to main content

Delete ai agent asynchronously

DELETE 

/machine-identities/v1/:id/delete-async

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.

This API deletes an AI agent machine identity. It applies only to AI agents. Application machine identities return 400; delete them with the delete machine identity API instead.

When the AI agent was aggregated from a source and still exists on that source, the API starts a deletion task on the source and returns the task status. When the AI agent was created manually or no longer exists on the source, the API deletes it immediately and returns 200 with an empty body.

The API returns 400 when the AI agent is still assigned to machine accounts, or when its source does not support deleting it. It returns 404 when the machine identity or its source is not found.

Request​

Responses​

Status of the deletion task. The body is empty when the AI agent was deleted immediately.