curl --request PUT \
--url https://api.example.com/api/projects/{projectId}/test-events/{testEventId} \
--header 'Content-Type: application/json' \
--data '
{
"testEvent": {
"name": "<string>",
"context": "<string>",
"category": "private",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"context": "<string>",
"category": "private",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Update an existing test event with partial data.
curl --request PUT \
--url https://api.example.com/api/projects/{projectId}/test-events/{testEventId} \
--header 'Content-Type: application/json' \
--data '
{
"testEvent": {
"name": "<string>",
"context": "<string>",
"category": "private",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"context": "<string>",
"category": "private",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}ID of the test event to update
ID of the project containing the test event
Partial test event data to update
Show child attributes
The updated test event
The updated test event
Unique identifier of the test event
Name of the test event
JSON context data for the test event
Category of the test event (private, shared, or global)
private, shared, global ID of the project this test event belongs to
ID of the user who owns this test event (for private events)
ID of the document this test event is associated with
Was this page helpful?