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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTR9.V-pqzqKtK0wOJp4DUXbD6vkp8tUaP1p8-mJMloRtlRo
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/a3e205c1-756c-4d17-9e18-7dff1286cade/host/host-15

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/a3e205c1-756c-4d17-9e18-7dff1286cade/host/host-15" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTR9.V-pqzqKtK0wOJp4DUXbD6vkp8tUaP1p8-mJMloRtlRo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 9d97922c-2a49-4136-86c3-7e206f735531
X-Content-Type-Options: nosniff

Status

204 No Content