curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/host \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"mockHost": "<string>"
}
'{}curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/host \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"mockHost": "<string>"
}
'{}The ID of the Mock API
5 - 10"jjl8y"
The ID of the mock host to place this mock API on.
200 response
The response is of type object.