v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
mocks

Update a scenario

put/v1/mocks/scenarios/{scenario_id}

Path parameters

scenario_idstring uuid required

Request body

namestring nullable
priorityinteger nullable
match_methodstring nullable
match_path_patternstring nullable
match_headersobject nullable
match_queryobject nullable
match_bodyobject nullable
response_statusinteger nullable
response_headersobject nullable
delay_msinteger nullable
is_enabledboolean nullable

Response

Successful Response

idstring uuid required
mock_idstring uuid required
namestring required
priorityinteger required
match_methodstring required
match_path_patternstring nullable required
match_headersobject required
match_queryobject required
match_bodyobject required
response_statusinteger required
response_headersobject required
delay_msinteger required
is_enabledboolean required
created_atstring date-time required
updated_atstring date-time required