Get current user's desktop config
curl --request GET \
--url http://api.den.local/v1/me/desktop-configimport requests
url = "http://api.den.local/v1/me/desktop-config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://api.den.local/v1/me/desktop-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.den.local/v1/me/desktop-config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.den.local/v1/me/desktop-config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.den.local/v1/me/desktop-config")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.den.local/v1/me/desktop-config")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"allowCustomProviders": true,
"allowZenModel": true,
"allowMultipleWorkspaces": true,
"allowControlSettings": true,
"allowManageExtensions": true,
"allowBuiltInExtensions": true,
"allowAlphaUpdates": true,
"showWelcomePage": true,
"allowedDesktopVersions": [
"<string>"
],
"brandAppName": "<string>",
"brandLogoUrl": "<string>",
"brandIconUrl": "<string>",
"brandAccentColor": "blue",
"automationsEnabled": true,
"dashboardEnabled": true,
"connectEnabled": true,
"onboardingPrompts": [
"<string>"
],
"onboardingPromptDescriptions": [
"<string>"
]
}{
"error": "unauthorized"
}Users
Get current user's desktop config
Returns the authenticated desktop app restrictions for the caller’s active organization.
GET
/
v1
/
me
/
desktop-config
Get current user's desktop config
curl --request GET \
--url http://api.den.local/v1/me/desktop-configimport requests
url = "http://api.den.local/v1/me/desktop-config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://api.den.local/v1/me/desktop-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.den.local/v1/me/desktop-config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.den.local/v1/me/desktop-config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.den.local/v1/me/desktop-config")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.den.local/v1/me/desktop-config")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"allowCustomProviders": true,
"allowZenModel": true,
"allowMultipleWorkspaces": true,
"allowControlSettings": true,
"allowManageExtensions": true,
"allowBuiltInExtensions": true,
"allowAlphaUpdates": true,
"showWelcomePage": true,
"allowedDesktopVersions": [
"<string>"
],
"brandAppName": "<string>",
"brandLogoUrl": "<string>",
"brandIconUrl": "<string>",
"brandAccentColor": "blue",
"automationsEnabled": true,
"dashboardEnabled": true,
"connectEnabled": true,
"onboardingPrompts": [
"<string>"
],
"onboardingPromptDescriptions": [
"<string>"
]
}{
"error": "unauthorized"
}Response
Current user desktop config returned successfully.
Required string length:
1 - 32Required string length:
1 - 64Maximum string length:
2048Maximum string length:
2048Available options:
blue, crimson, cyan, gold, grass, green, indigo, iris, jade, lime, mint, orange, pink, plum, purple, red, ruby, sky, teal, tomato, violet, yellow Required array length:
2 - 3 elementsRequired string length:
1 - 500Required array length:
2 - 3 elementsMaximum string length:
120Was this page helpful?