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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OSIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNTB9.SZGECADEF6awXeeD9sIL6VAcWLSG6DSzhhTpN9Fyie8
Host: example.org
Cookie: 

Route

GET /v2/routes/reserved/domain/15e076a2-5003-4ec2-8a69-3def168fc673/host/host-10

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/15e076a2-5003-4ec2-8a69-3def168fc673/host/host-10" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OSIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNTB9.SZGECADEF6awXeeD9sIL6VAcWLSG6DSzhhTpN9Fyie8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 31f3a13a-9a71-442b-b7c7-2ed1b4902231
X-Content-Type-Options: nosniff

Status

204 No Content