Ocoya API
Search
K

Reschedule

Reschedule a post.
patch
https://app.ocoya.com/api/_public/v1
/schedules
Reschedule a post

Returns the id of new created schedule.

Parameters
No parameters
Body
Example
Schema
{
"scheduleGroupId": "clgvxo53c007v8ko4wf0e2beb",
"scheduledAt": "2024-01-01T00:00:00.000Z"
}
Responses
200: OK
Success
500: Internal Server Error
Unknown error

Request parameters

Parameter
Type
Required
Information
scheduleGroupId
string
yes
Id of the schedule
scheduledAt
string
yes
Date of the schedule (must follow Date limitations)

Sample response

1
{
2
"scheduleGroupId": "clg07n1us0002998kbzmp7zc7"
3
}

Response parameters

Parameter
Type
Description
scheduleGroupId
string
Id of the created schedule