Images

Unpublish a library image

Reverts the image to an unpublished draft by clearing published_at.

post/api/v1/images/{id}/unpublish

Request

  • Base URL: https://api.firework.com
  • URL: https://api.firework.com/api/v1/images/{id}/unpublish
  • Auth: OAuth 2 (client credentials, token URL /oauth/token, scopes: images:write)

Path parameters

idstring required

image ID

Response

Unpublished image

accessstring

Visibility: "public", "private" or "unlisted"

idstring
formatstring
descriptionstring nullable
titlestring
widthinteger nullable
sourcestring

social_media, aigc or api

urlstring nullable

Full-resolution CDN URL of the original file.

localestring nullable
hashtagsstring[]
published_atstring date-time nullable

When the image is/was published; null for a draft. A future value is scheduled.

file_sizeinteger nullable
updated_atstring date-time
created_atstring date-time
heightinteger nullable
badgestring nullable

e.g. "ad"

archived_atstring date-time nullable
is_publishedboolean

Whether the image is currently published (published_at set and not in the future); evaluated at request time.

blur_hashstring nullable
folder_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.