const response = await fetch('https://app.ocoya.com/api/_public/v1/post/{post_id}', {
method: 'PATCH',
headers: {
"X-API-Key": "ApiKeyAuth <apiKey>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"scheduledAt": "2024-01-01T00:00:00Z"
}),
});
const data = await response.json();