This functionality has been replaced by PUT /{guid}/runs/{runNumber}/results.

put/scenarios/{guid}/runs/{runNumber}/resultFlags

This operation requires an authentication scheme, privilege, that the API's document does not define, so its parameters and responses are not shown here. They are in the OpenAPI document.