API / Angles
PUT
/v1/angles/{id}scope: generateMCP: update_angle
Modifie un angle (hook, script).
Paramètres
| Nom | Emplacement | Type | Requis | Description |
|---|---|---|---|---|
id | chemin | string | oui | ID de l'angle. |
hook | corps | string | non | |
script | corps | string | non |
Exemple de requête
curl -X PUT https://deklip.com/v1/angles/{id} \
-H "Authorization: Bearer dk_live_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{"hook":"Nouveau hook plus punchy"}'Exemple de réponse
{
"id": "angle_1",
"ok": true
}Via MCP: cet endpoint correspond à l'outil
update_angle.