Skip to main content
DELETE
/
v1
/
artifacts
/
{artifactId}
Delete an artifact and all of its versions
curl --request DELETE \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/artifacts/{artifactId} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true,
  "artifact_id": "<string>"
}

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

artifactId
string
required
Maximum string length: 128

Response

Artifact deleted.

deleted
boolean
Example:

true

artifact_id
string