Home
Version 3
Routes API

Routes API

Check a Route exists

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

Request

Route

GET /v2/routes/reserved/domain/e9a7f5a2-4e94-45b4-a255-1740971d12b9/host/host-4

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4IiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk5fQ.xznk1K4ZR5jHAMnY_VtdnNootatE1_APRnjzepFxeGI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/e9a7f5a2-4e94-45b4-a255-1740971d12b9/host/host-4" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4IiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk5fQ.xznk1K4ZR5jHAMnY_VtdnNootatE1_APRnjzepFxeGI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 7fb25bf8-4e36-492f-8243-4138f2b73e95
X-Content-Type-Options: nosniff