cURL
curl --request POST \ --url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/mappings/remove-by-metadata \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "matchesJsonPath": { "expression": "$.outer", "equalToJson": "{ \"inner\": 42 }" } }'
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the Mock API
5 - 10
"jjl8y"
The stub mappings were successfully removed