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.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY5fQ.FknzqYGlgimvKCqdllaT0bDU_g53AAUOqUJp63tXGaw
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/dc56f0b0-035d-43af-9323-356c9a323071/host/host-3

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/dc56f0b0-035d-43af-9323-356c9a323071/host/host-3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY5fQ.FknzqYGlgimvKCqdllaT0bDU_g53AAUOqUJp63tXGaw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 57f2df52-54b2-4342-aec4-246c42347efd
X-Content-Type-Options: nosniff

Status

204 No Content