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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMyIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Nn0.jT20vyf979KLV1CEnP8rrA6yiiQCev5lHr9XFSfCV_E
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/afcea23d-8ce3-4395-ba86-f2c8cf3b0ac4/host/host-1

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/afcea23d-8ce3-4395-ba86-f2c8cf3b0ac4/host/host-1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMyIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Nn0.jT20vyf979KLV1CEnP8rrA6yiiQCev5lHr9XFSfCV_E" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 3cb79bb6-7725-427a-bcad-7ceed1a85422
X-Content-Type-Options: nosniff

Status

204 No Content