Skip to main content
PATCH
/
editUpload
Edit upload
curl --request PATCH \
  --url https://api.snipp.gg/editUpload \
  --header 'api-key: <api-key>' \
  --header 'code: <code>'
{
  "message": "Upload updated successfully.",
  "post": {
    "code": "<string>",
    "title": "<string>",
    "description": "<string>",
    "postPrivacy": "public"
  }
}

Authorizations

api-key
string
header
required

Your API key from Snipp.gg

Headers

code
string
required

The share code of the upload to edit

title
string

New title (max 30 characters). Send empty string to clear.

Maximum string length: 30
description
string

New description (max 200 characters). Send empty string to clear.

Maximum string length: 200
post-privacy
enum<string>

New privacy level

Available options:
public,
unlisted,
private

Response

Upload updated successfully

message
string
Example:

"Upload updated successfully."

post
object