Update a geographic location

PUT/api/portfolio/geographic-locations/{geographicLocation}

Path parameters

  • geographicLocationintegerRequired#
    The geographic location ID

Request body

Body shape: Portfolio_EditGeographicLocation (required)

Responses

200
{}
403Forbidden.Error
404Not found.Error
422Validation error.Error
curl -X PUT https://your-url.com/kong/core/api/gateway/api/portfolio/geographic-locations/{geographicLocation}\
  -H "Authorization: Bearer $DELIO_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "name": "name",
  "enabled": true
}'