Update language versions via API
This method allows you to update language versions in a project.
URL
/projects/<permalink>/language_versions/<language>
- Replace
<permalink>
with the permalink of your project. - Replace
<language>
with the name of the language you wish to update the version of.
HTTP Method
PUT
Supported Parameters
version
- the version you wish to change the chosen language to (supported languages can be found at the bottom of the page).
Example cURL Request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-X PUT \
-d '{ \
"build_environment":{ \
"version":"7.2", \
} \
}' \
https://atech.deployhq.com/projects/my-new-project/build_languages/php
Supported languages and versions
Specific minor versions can be viewed within the Build Configuration UI.
Composer
- 1.10
- 2.5
.NET
- 7.0
- 6.0
- 5.0
- 3.1
Go
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
- 1.11
- 1.10
Java
- 11 (default, currently 11.0.1)
- 10 (currently 10.0.1)
- 8 (currently 8u191)
NodeJS
- 19
- 18
- 17
- 16
- 15
- 14
- 12
- 11
- 10
- 9
- 8
PHP
- 8.2
- 8.1
- 8.0
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0
Python
- 3.11
- 3.10
- 3.9
- 3.8
- 3.7
- 3.6
- 3.5
Ruby
- 3.2
- 3.1
- 3.0
- 2.7
- 2.6
- 2.5
- 2.4