POST
/
v1
/
mock-apis
/
{mockApiId}
/
mappings
/
remove-by-metadata
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 }"
  }
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

mockApiId
string
required

The ID of the Mock API

Required string length: 5 - 10

Body

application/json
equalTo
string
required
caseInsensitive
boolean