Update post

patch

Returns the id of updated post

Authorizations
Path parameters
post_idstringRequiredExample: cmajvvb9q0003ja5vh0538j6r
Body
scheduledAtstringOptionalExample: 2024-01-01T00:00:00Z
Responses
200
Success
patch
PATCH /api/_public/v1/post/{post_id} HTTP/1.1
Host: app.ocoya.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "scheduledAt": "2024-01-01T00:00:00Z"
}

No content

Body parameters explained

Parameter
Type
Required
Information

scheduledAt

string

no

Date of the schedule (must follow Date limitations)

Sample response

{}

Last updated