Map a Route
PUT /v3/apps/:guid/routes
Request
Route
PUT /v3/apps/guid-dac71b4b-5f18-41ae-aedf-f62a05a481ef/routes
Body
Name |
Description |
Default |
Valid Values |
Example Values |
route_guid
|
GUID of the route
|
|
|
|
{
"route_guid": "9cf0271a-420f-4ae4-b227-16683db93573"
}
Headers
cURL
curl "https://api.[your-domain.com]/v3/apps/guid-dac71b4b-5f18-41ae-aedf-f62a05a481ef/routes" -d '{
"route_guid": "9cf0271a-420f-4ae4-b227-16683db93573"
}' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTJ9.Z7QJxSsiwWdZuWQRHE8rPkvPylrA1NbW9KrZ_rzbP70" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers