This endpoint allows you to update a mock you have created using its uid. The endpoint allows you to edit fields,
- name
- environment
- description
- private
- versionTag
Requires as
X-Api-Keyrequest header orapikeyURL query parameter.
643 matches
44 actions
Postman
44 actions
Other/Postman
This endpoint allows you to update a mock you have created using its uid. The endpoint allows you to edit fields,
Requires as
X-Api-Keyrequest header orapikeyURL query parameter.
{
"type": "object",
"properties": {
"mock": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"environment": {
"type": "string"
},
"name": {
"type": "string"
},
"private": {
"type": "boolean"
},
"versionTag": {
"type": "string"
}
}
}
}
}{
"type": "object",
"properties": {
"mock": {
"type": "object",
"properties": {
"collection": {
"type": "string"
},
"config": {
"type": "object",
"properties": {
"headers": {
"type": "array",
"items": {
"type": "object"
}
},
"matchBody": {
"type": "boolean"
},
"matchQueryParams": {
"type": "boolean"
},
"matchWildcards": {
"type": "boolean"
}
}
},
"environment": {
"type": "string"
},
"id": {
"type": "string"
},
"mockUrl": {
"type": "string"
},
"name": {
"type": "string"
},
"owner": {
"type": "string"
},
"uid": {
"type": "string"
}
}
}
}
}