Home
Version 3
App Routes (Experimental) API

App Routes (Experimental) API

Map a Route

PUT /v3/apps/:guid/routes

Request

Route

PUT /v3/apps/guid-d8bd835a-60eb-4a0f-94dc-1bd5ceddba4a/routes

Body

Name Description Default Valid Values Example Values
route_guid GUID of the route
{
  "route_guid": "fb1e4141-e50e-4d15-9633-b242d5cc83a8"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzB9.6ZzLXs1vbq5eG10Yt_av7I9QNJkb3vS4j6byy2fjMbw
Content-Type: application/json
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-d8bd835a-60eb-4a0f-94dc-1bd5ceddba4a/routes" -d '{
  "route_guid": "fb1e4141-e50e-4d15-9633-b242d5cc83a8"
}' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNiIsImVtYWlsIjoiZW1haWwtMjM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzB9.6ZzLXs1vbq5eG10Yt_av7I9QNJkb3vS4j6byy2fjMbw" \
	-H "Content-Type: application/json" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Runtime: 0.049133