API docs

Save workspace settings

Changes the workspace's name and base time zone. Only the fields you send are changed; fields you don't send stay as they are. You must send at least one of name and timezone — if neither is sent, the response is 400 with "nothing to change".

Version: v1

02 Save workspace settings

2.1 Description

PUT/workspaces/{code}

The returned data.workspace is the row re-read after saving, with exactly the same fields as the list.

2.2 Parameters

Save workspace settings parameters
NameCategoryDescription
nameOptionalName. 1 to 100 characters, no line breaks
timezoneOptionalBase time zone for scheduled publishing. Use an IANA name (e.g. Asia/Seoul)

2.3 Request

Terminal — bash
curl -X PUT https://moacast.com/api/moacast/v1/workspaces/a1b2c3d4 \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Marketing","timezone":"Asia/Tokyo"}'

2.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "message": "...",
    "data": {
        "workspace": {
            "code": "a1b2c3d4",
            "name": "Marketing",
            "timezone": "Asia/Tokyo",
            "status": "ACTIVE",
            "created_at": "2026-09-25 23:13:51"
        }
    }
}

2.5 Field

Save workspace settings fields
FieldTypeDescription
workspaceobjectThe row after the change. Same fields as one entry of the workspace list

2.6 Failed

Save workspace settings failures
CodeHTTPWhen
1004400The name or time zone doesn't meet the rules. Which field is reported in field
1004400No fields to change were sent
1001401Header is missing or the token is invalid
2000404No workspace with that code exists, or this token can't access it
5000500Couldn't save

Only two fields can be changed: name and timezone. Other fields such as code are silently ignored if sent.

Even though it's a partial update, the method is PUT — PATCH isn't accepted.