These docs are for v2. Click to read the latest docs for v3.

Restore a requirement

Restores a deleted requirement. You can restore either an empty requirement or a requirement together with all the included objects, test suites, functional test cases, test requests, and conditions. The operation has three possible outcomes. When restoreChildResources is false, a 200 response provides the restored object in the successes array. When restoreChildResources is true, the operation responds with the partial-success 207 response and various objects in the appropriate successes or failures arrays. Regardless of the restoreChildResources value, if there's a problem with restoring the requirement object, the operation responds with a 4xx status.

Click Try It! to start a request and see the response here!