AgentConnect
Artifacts

Delete an artifact

Deletes the artifact, every revision and every share link, at once and for good: it leaves every list, its reads answer 404, and its share links answer 404 ARTIFACT_SHARE_NOT_FOUND. A publish still uploading to it is refused when it completes. The stored files are deleted right after, and once more when upload links signed before the deletion have expired. The artifact’s owner and organization owners may delete, including an organization owner who cannot view it. 403 ARTIFACT_DELETE_FORBIDDEN for anyone else who can view the artifact; 404 when the caller cannot view it or it does not exist.

DELETE
/v1/orgs/{orgId}/artifacts/{artifactId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
artifactId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty