Skip to main content
DELETE
Unpublish an artifact

Headers

idempotency-key
string

Optional Idempotency-Key header for safe retries

Required string length: 1 - 128
Pattern: ^\S[\s\S]*\S$|^\S$|^$

Path Parameters

artifact_id
string
required

Artifact ID

Minimum string length: 1

Query Parameters

if_current
string

The public address to revoke

Pattern: ^a[0-9a-f]{1,32}-[0-9a-z]{25}$

Response

Success

id
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
artifact
name
string
required
version
integer
required

Current version

Required range: 1 <= x <= 9007199254740991
capabilities
object
required

What the version's page may ask of the platform at run time, as declared in its artifact.json. Empty when it declares nothing

made_from
object | null
required

The artifact version this version's files were started from, or null

file_count
integer
required
Required range: 0 <= x <= 9007199254740991
total_bytes
integer
required
Required range: 0 <= x <= 9007199254740991
files
object[]
required
publication
object | null
required

The artifact's public address, or null when it is not published

created_at
string
required
updated_at
string
required