Langsung ke isi
GrowSocmedDokumentasiSocial media command center

Update a workspace

Rename a workspace or change its settings (owners and admins)

PATCH
/workspaces/{id}

Rename a workspace or change its settings (owners and admins)

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
name?string
Length1 <= length <= 80
external_id?|
Lengthlength <= 200
media_retention_days?|||
posting_times?array<>
Itemsitems <= 48

Response Body

OK

application/json
  1. response
id*string
name*string
role*string
is_default*boolean
external_id*string|null
media_retention_days*number

Days files stay after their posts are published: 0 (about an hour), 1, 7 or 30

posting_times*array<string>

Daily "HH:MM" slots the composer offers

accounts*number
created_at*string
Example Request
curl -X PATCH 'https://socmed.growpaces.com/api/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "id": "string",  "name": "string",  "role": "string",  "is_default": true,  "external_id": "string",  "media_retention_days": 0,  "posting_times": [    "string"  ],  "accounts": 0,  "created_at": "string"}