Update a client
PUT /extension/client
Requires Bearer token authentication.
Endpoint#
PUT https://api.multipost.app/extension/clientRequest body#
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| clientId | string | ✓ | |
| name | string | ✓ |
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"
}