PUT/api/v1/personas/{persona_id}
Update persona
Send only the fields to change.
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
REQUEST BODY · APPLICATION/JSON · REQUIRED
{}
REQUEST
curl -X PUT "https://gateway.kumkuat.ai/api/v1/personas/string" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{}'
import requests
r = requests.put("https://gateway.kumkuat.ai/api/v1/personas/string", headers={"X-API-Key": "YOUR_KEY"}, json={})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/personas/string", {
method: "PUT",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"message": "string"
}
