Soft-delete an AI system
DELETE
/api/v1/systems/{system_id}
const url = 'https://example.com/api/v1/systems/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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://example.com/api/v1/systems/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”system_id
required
System Id
string format: uuid
Responses
Section titled “Responses”Successful Response
Unauthorized
Media typeapplication/json
ErrorResponse
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Forbidden
Media typeapplication/json
ErrorResponse
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Not Found
Media typeapplication/json
ErrorResponse
object
Example
{ "error": { "code": "not_found", "correlation_id": "0f4b9a2e-6c2b-4f0e-9a4a-1c2b3d4e5f60", "message": "AI system not found." }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}