This endpoint returns a status code of 204 if the route exists, and 404 if it does not.
GET /v2/routes/reserved/domain/d754045e-588b-4512-ad85-98aaf7a35114?port=61000
Name | Description | Valid Values | Example Values |
---|---|---|---|
host | The host portion of the route. Required for shared-domains. |
|
|
path | The path for a route as raw text. 1) Paths must be between 2 and 128 characters 2) Paths must start with a forward slash "/" 3) Paths must not contain a "?" |
|
|
port | The port of the route. Supported for domains of TCP router groups only. |
|
|
port: 61000
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNiIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3Mjl9.uXIxR3NVLfgLw_pBdTDZEs83vUr5mAImdPUmFO9Nx4c Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/routes/reserved/domain/d754045e-588b-4512-ad85-98aaf7a35114?port=61000" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNiIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3Mjl9.uXIxR3NVLfgLw_pBdTDZEs83vUr5mAImdPUmFO9Nx4c" \ -H "Host: example.org" \ -H "Cookie: "
204 No Content
X-VCAP-Request-ID: 8b0d75f7-985a-4ca5-94b5-8ce178928dbd X-Content-Type-Options: nosniff