---
title: "Update Social Auto Poster Account"
method: PATCH
path: "/admin/plugins/social-auto-poster/accounts/{account_id}"
tags: ["admin-social-auto-poster"]
---

# Update Social Auto Poster Account

`PATCH /admin/plugins/social-auto-poster/accounts/{account_id}`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/plugins/social-auto-poster/accounts/{account_id}`
- Auth: none declared

## Path parameters

- `account_id` integer, required

## Request body

- SocialAutoPosterAccountUpdatePayload
  - `enabled` boolean, nullable
  - `account_label` string, nullable
  - `access_token` string, nullable
  - `refresh_token` string, nullable
  - `raw_config` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
