Skip to main content
GET
/
v1
/
hosts
/
{mockHostId}
Retrieve a mock host by ID
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/hosts/{mockHostId} \
  --header 'Authorization: <api-key>'
{
  "mockHost": {
    "id": "<string>",
    "name": "<string>",
    "links": {
      "self": "<string>"
    },
    "friendlyHostname": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Your API key prefixed by 'Token '

Path Parameters

mockHostId
string
required

The ID of the mock host

Response

200 - application/json

Success

mockHost
object
required