Code Artifact の削除
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
Code Artifact とそのすべてのバージョンを完全に削除します。これは元に戻すことができない破壊的な操作です。200 レスポンスは、削除が開始され Artifact が確保されたことを意味します。コンテンツの削除は非同期で完了します。
存在しない Artifact、または別の親組織に属する Artifact に対しては 404 を返します。すでに削除された Artifact に対して削除を繰り返した場合も 404 を返します。
Path parameters
Headers
Returns
Code Artifact の削除
cURL
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
-X DELETE \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"id": "cart_xyz789",
"type": "code_artifact_deleted"
}Returns Examples
Response 200
{
"id": "cart_xyz789",
"type": "code_artifact_deleted"
}