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.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTM0fQ.Dhjc9xE8QvoYcqIDwFSGE_e2r5W3bJyVL9WxSFa4K6U
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/0b64396e-7736-4bfe-8c54-e51d555985e0/host/host-7

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/0b64396e-7736-4bfe-8c54-e51d555985e0/host/host-7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTM0fQ.Dhjc9xE8QvoYcqIDwFSGE_e2r5W3bJyVL9WxSFa4K6U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 2971db9b-fb7f-465e-96d8-8d0a68604b44
X-Content-Type-Options: nosniff

Status

204 No Content