Archive
Path Parameters
projectId*string
experimentId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/string/experiments/string/archive"{ "id": "string", "projectId": "string", "name": "string", "description": "string", "hypothesis": "string", "status": "draft", "primaryMetricEventName": "string", "secondaryMetricEventNames": [ "string" ], "paywallLocationIds": [ "string" ], "winningVariantId": "string", "featureFlagId": "string", "isArchived": true, "startedAt": "string", "endedAt": "string", "createdAt": "string", "updatedAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "conflict", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}