Update a client

PUT /extension/client

Requires Bearer token authentication.

Endpoint#

PUT https://api.multipost.app/extension/client

Request body#

application/json

FieldTypeRequiredDescription
clientIdstring
namestring

Request example#

curl -X PUT 'https://api.multipost.app/extension/client' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "string",
  "name": "string"
}'

Response#

200 — 成功更新客户端信息

{
  "success": false,
  "data": {
    "id": "string",
    "name": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "platformInfos": [
      {}
    ]
  }
}

401 — 未授权

{
  "success": false,
  "error": "string"
}