Workspaces
Update workspace settings
Change a workspace’s name, time zone, posting times or what new posts start with.
PATCH
Needs
workspaces:update, and a role in the workspace that can edit it: owners and managers can. See Permissions.- A field left out stays as it is. In
auto_repostandcomment_moderation, so does a part left out:{"comment_moderation": {"settings": {"remove_urls": true}}}turns that one rule on and keeps the rest. - A list you send replaces the saved one whole:
queue_slots(at least one time, each time once),auto_plugs([]removes them all) and each moderation word list. - Send each plug whole. Keep a plug’s
idto keep it, and leaveidout for a new one: the answer gives it one. At most one plug is the default.
422 and changes nothing. The answer is the settings after the change.
Comment moderation is on paid plans. On Free it can be turned off, but turning it on or changing its rules is a 403 with error: plan_limit_reached and limit: moderation, and nothing is saved.
Errors
Related
- Get workspace settings: the settings as they are.
- Create a post:
schedulewithoutschedule_forgoes at the next free posting time.
Authorizations
Path Parameters
The workspace's id, from List workspaces.
Body
application/json
The settings to change, in the shape of WorkspaceSettings. Send at least one. A field left out stays as it is, and so does a part of auto_repost or comment_moderation left out. A list sent replaces the saved one whole.
Response
The settings, after the change.
A workspace's settings: what Get workspace settings gives and Update workspace settings takes.