List OS install profiles for a machine or plan
curl --request GET \
--url https://my.server.express/api/v1/client/dedicated/profiles \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/dedicated/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/dedicated/profiles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"name": "<string>",
"groupname": "<string>",
"logoUrl": "<string>"
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Dedicated
List OS install profiles for a machine or plan
Installable TenantOS profiles (rescue, password-reset and disk-wipe profiles removed). Ask by serverId for a stock machine,
or by planSlug for a plan, which answers from the next available unit. A plan with no TenantOS-backed unit free is built
to order and returns an empty list.
GET
/
v1
/
client
/
dedicated
/
profiles
List OS install profiles for a machine or plan
curl --request GET \
--url https://my.server.express/api/v1/client/dedicated/profiles \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/dedicated/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/dedicated/profiles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"name": "<string>",
"groupname": "<string>",
"logoUrl": "<string>"
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Query Parameters
TenantOS server id. Required unless planSlug is given.
Dedicated plan slug, case-insensitive. Ignored when serverId is given.