Home
Version 3
Routes API

Routes API

Check a Route exists

GET /v2/routes/reserved/domain/:domain_guid/host/:host

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
domain_guid The guid of a domain
host The host portion of the route

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtMTAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMjZ9.ROkQiWs7wk12f9uAlpvTaDUcuhaIVbt7Kt35aiKRZAU
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/b769d9b7-7104-4b75-9aca-3d2708291a29/host/host-4

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/b769d9b7-7104-4b75-9aca-3d2708291a29/host/host-4" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtMTAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMjZ9.ROkQiWs7wk12f9uAlpvTaDUcuhaIVbt7Kt35aiKRZAU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 54dbc2b6-4f54-41f6-b064-0b2a81d050fd
X-Content-Type-Options: nosniff

Status

204 No Content