cURL
curl --request PATCH \ --url https://api.aivra.cloud/v1/integration/prompts/{prompt_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "key": "<string>", "name": "<string>", "description": "<string>" } '
{ "id": "<string>", "project_id": "<string>", "key": "<string>", "name": "<string>", "description": "<string>", "latest_version_id": "<string>", "created_at": "2023-11-07T05:31:56Z" }
prompt_id
key
name
description
curl -X PATCH "${BASE_URL}/v1/integration/prompts/pr_1" \ -H "X-API-Key: ak_xxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "name": "Boas-vindas v2", "description": "Com emojis" }'
OK
Was this page helpful?