Requirements

Update a requirement

Changed on

Partially update a requirement. Requires requirement:update. When tags or testIds is present it replaces the whole set. Unknown body fields are rejected with 400.

put/api/requirements/{id}

Request

  • Base URL
    https://demo.supercheck.dev
  • Auth
    HTTP bearer

Request body

titlestring
descriptionstring nullable
priority'low' | 'medium' | 'high' nullable
tagsstring[]

Tag names. Matched case-insensitively; missing tags are created. Duplicates (ignoring case) are collapsed. On update, replaces the whole tag set.

externalIdstring nullable
externalUrlstring nullable

http or https URL. An empty string is treated as no URL.

testIdsstring[]

Tests to link. Must belong to the current project. On update, replaces the whole set of linked tests.

Response

Updated requirement

Changes