API / Posts images
PUT
/v1/posts/{id}scope: editMCP: update_post
Modifie un post.
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
id | chemin | string | oui | ID du post. |
post | corps | object | oui | Spécification du post (textes, fond…). |
Exemple de requête
curl -X PUT https://deklip.com/v1/posts/{id} \
-H "Authorization: Bearer dk_live_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{"post":{"texts":["Nouveau titre"]}}'Exemple de réponse
{
"ok": true
}Via MCP: cet endpoint correspond à l'outil
update_post.