cURL
curl --request PATCH \ --url https://embed.nova.dweet.com/v1/criteria-library/{criterionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Tenant-Id: <x-tenant-id>' \ --data ' { "text": "<string>", "importance": "MUST_HAVE", "category": "<string>" } '
{ "criterion": { "id": "<string>", "text": "<string>", "importance": "MUST_HAVE", "category": "<string>", "createdAt": "2023-11-07T05:31:56Z" } }
Update an existing criterion in the tenant criteria library
Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.
Your customer identifier. Tenants are auto-provisioned on first request.
Criterion ID.
MUST_HAVE
PREFERRED
NICE_TO_HAVE
Updated
Show child attributes
Was this page helpful?