curl --request POST \
--url https://api2.rhombussystems.com/api/oauth/updateApplication \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"clientId": "AAAAAAAAAAAAAAAAAAAAAA",
"contactEmail": "admin@myapp.com",
"description": "Integration app for accessing Rhombus API",
"name": "My Integration App",
"redirectUri": "https://myapp.com/oauth/callback",
"tokenEndpointAuthMethod": "none"
}
'import requests
url = "https://api2.rhombussystems.com/api/oauth/updateApplication"
payload = {
"clientId": "AAAAAAAAAAAAAAAAAAAAAA",
"contactEmail": "admin@myapp.com",
"description": "Integration app for accessing Rhombus API",
"name": "My Integration App",
"redirectUri": "https://myapp.com/oauth/callback",
"tokenEndpointAuthMethod": "none"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
clientId: 'AAAAAAAAAAAAAAAAAAAAAA',
contactEmail: 'admin@myapp.com',
description: 'Integration app for accessing Rhombus API',
name: 'My Integration App',
redirectUri: 'https://myapp.com/oauth/callback',
tokenEndpointAuthMethod: 'none'
})
};
fetch('https://api2.rhombussystems.com/api/oauth/updateApplication', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/oauth/updateApplication")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clientId\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"contactEmail\": \"admin@myapp.com\",\n \"description\": \"Integration app for accessing Rhombus API\",\n \"name\": \"My Integration App\",\n \"redirectUri\": \"https://myapp.com/oauth/callback\",\n \"tokenEndpointAuthMethod\": \"none\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Update OAuth application
Update application
curl --request POST \
--url https://api2.rhombussystems.com/api/oauth/updateApplication \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"clientId": "AAAAAAAAAAAAAAAAAAAAAA",
"contactEmail": "admin@myapp.com",
"description": "Integration app for accessing Rhombus API",
"name": "My Integration App",
"redirectUri": "https://myapp.com/oauth/callback",
"tokenEndpointAuthMethod": "none"
}
'import requests
url = "https://api2.rhombussystems.com/api/oauth/updateApplication"
payload = {
"clientId": "AAAAAAAAAAAAAAAAAAAAAA",
"contactEmail": "admin@myapp.com",
"description": "Integration app for accessing Rhombus API",
"name": "My Integration App",
"redirectUri": "https://myapp.com/oauth/callback",
"tokenEndpointAuthMethod": "none"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
clientId: 'AAAAAAAAAAAAAAAAAAAAAA',
contactEmail: 'admin@myapp.com',
description: 'Integration app for accessing Rhombus API',
name: 'My Integration App',
redirectUri: 'https://myapp.com/oauth/callback',
tokenEndpointAuthMethod: 'none'
})
};
fetch('https://api2.rhombussystems.com/api/oauth/updateApplication', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/oauth/updateApplication")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clientId\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"contactEmail\": \"admin@myapp.com\",\n \"description\": \"Integration app for accessing Rhombus API\",\n \"name\": \"My Integration App\",\n \"redirectUri\": \"https://myapp.com/oauth/callback\",\n \"tokenEndpointAuthMethod\": \"none\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request object for OAuth application management.
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Contact email for the OAuth application
"admin@myapp.com"
Description of the OAuth application
"Integration app for accessing Rhombus API"
Name of the OAuth application
"My Integration App"
OAuth redirect URI
"https://myapp.com/oauth/callback"
OAuth token endpoint auth method. 'none' registers a PUBLIC (PKCE-only) client with no secret; omit or 'client_secret_basic'/'client_secret_post' for a confidential client.
"none"