Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
mainCaption
string

New caption. Must not be empty.

Minimum string length: 1
scheduledFor

A date (ISO 8601 or Unix time in milliseconds) moves the post to SCHEDULED. null or an empty string clears the schedule; a SCHEDULED post returns to DRAFT.

timezone
string

IANA time zone name stored with the schedule. Read only when scheduledFor is a date. Clearing the schedule also clears the time zone.

accounts
object[]

Replaces the account list. Accounts that already published are kept unchanged. Listed accounts are updated or added, and unpublished accounts that are not listed are removed. Existing accounts keep their platform settings; added accounts have none.

Minimum array length: 1

Response

Updated. message is "Post updated successfully".

success
boolean
required
data
object
required
message
string