Update a workspace
Changed onUpdates an existing workspace. Only the provided fields are changed; omitted fields keep their current values. * * Timezone. timezone accepts any IANA identifier plus the legacy aliases the product accepts (US/Pacific, US/Eastern, America/Buenos_Aires, MST7MDT, …), stored in canonical form. An unrecognised identifier is rejected with 422 and the stored value is left untouched. * * Changing the timezone does NOT reschedule anything. A post's publish time is stored in UTC and the scheduler compares it against the current UTC time, so an already-scheduled post fires at exactly the same instant as before — only its rendered local time moves. A post scheduled for 15:00 Asia/Karachi (10:00 UTC) still publishes at 10:00 UTC after switching to America/New_York, but now shows as 06:00 in the calendar. * * Because of that, any update that actually changes the timezone returns an extra top-level timezone_change object stating the effect and counting the pending scheduled posts whose displayed time shifts. The object is absent when the timezone is unchanged or not supplied. To move posts to the same local time in the new timezone, reschedule them explicitly with PUT /api/v1/posts/{post_id}.
Request
- Base URLhttps://api.contentstudio.io
- URLhttps://api.contentstudio.io/api/v1/workspaces/{workspace_id}
- AuthAPI key in header X-API-Key
Path parameters
Workspace ID
Request body
Example request
{
"name": "Acme Marketing",
"logo": "https://logo.clearbit.com/contentstudio.io",
"timezone": "Asia/Karachi",
"note": "Updated note",
"instagram_posting_method": "api",
"first_day": {
"day": "Monday",
"key": 1
},
"company_name": "Acme Inc",
"company_logo": "https://storage.googleapis.com/lumotive-web-storage/analytics/companies/610a1d92b11ba161ce1cd372/company.jpg"
}Response
Workspace updated successfully
Example response
{
"status": true,
"message": "Workspace updated successfully. Use the returned `id` as `workspace_id` in subsequent requests.",
"timezone_change": {
"from": "Asia/Karachi",
"to": "America/New_York",
"scheduled_posts_affected": 12,
"notice": "Already-scheduled posts keep their original publish time in UTC and will publish at the same moment as before. Only their displayed time changes: a post set for 15:00 Asia/Karachi now shows as 06:00 America/New_York. No post was rescheduled."
}
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info