Skip to main content

Replace a pinned object

This endpoint replaces a pinned object.

Path Parameters
pinid string REQUIRED

Pin ID to be replaced

Request Body REQUIRED

New pin

cid string
meta object
name string
origins string[]
Responses
202

Accepted

Schema OPTIONAL
created string OPTIONAL
delegates string[] OPTIONAL
info object OPTIONAL
pin object OPTIONAL
cid string OPTIONAL
meta object OPTIONAL
name string OPTIONAL
origins string[] OPTIONAL
requestid string OPTIONAL
status string OPTIONAL

Possible values: [pinning, pinned, failed, queued, offloaded]

404

Not Found

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
500

Internal Server Error

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL