Testsets

Archive Testset Variant

Changed on

Soft-delete a testset variant.

Archiving a variant excludes it from /testsets/variants/query unless include_archived is true. Its revisions stay in place and can still be retrieved by ID.

post/testsets/variants/{testset_variant_id}/archive

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/testsets/variants/{testset_variant_id}/archive
  • Auth
    API key in header Authorization

Path parameters

testset_variant_idstring uuid required

Response

Successful Response

countinteger

1 if a variant was returned, 0 otherwise.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status