ข้ามไปยังเนื้อหา
GrowSocmedเอกสารSocial media command center

Move an account to another workspace

Move an account to another workspace of the same owner. Its scheduled posts here are canceled; its comments, DMs and automations go with it (automations stop using this workspace's AI agents).

POST
/accounts/{id}/move

Move an account to another workspace of the same owner. Its scheduled posts here are canceled; its comments, DMs and automations go with it (automations stop using this workspace's AI agents).

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
workspace_id*string
Formatuuid

Response Body

OK

application/json
  1. response
workspace_id*string
canceled_targets*number
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/move' \  -H 'Content-Type: application/json' \  -d '{  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"}'
Example Response200
{  "workspace_id": "string",  "canceled_targets": 0}