projects
variants

Update a variant

Changed on

Update a variant for a benchmark. The user must have edit permissions for the project, or provide a valid project key for the project. Archiving a variant hides it without losing its history, and a report that names the variant again unarchives it.

patch/v0/projects/{project}/benchmarks/{benchmark}/variants/{variant}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

benchmarkstring required

The slug or UUID for a benchmark.

projectstring required

The slug or UUID for a project.

variantstring uuid required

The UUID for a variant.

Request body

archivedboolean nullable

Set whether the variant is archived.

Response

successful operation

archivedstring date-time
benchmarkstring uuid required
createdstring date-time required
modifiedstring date-time required
parametersParameterSet required
uuidstring uuid required

Changes