curl --request POST \
--url https://api2.rhombussystems.com/api/partner/deactivateClient \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"clientOrgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"confirmName": "<string>"
}
'import requests
url = "https://api2.rhombussystems.com/api/partner/deactivateClient"
payload = {
"clientOrgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"confirmName": "<string>"
}
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({clientOrgUuid: 'AAAAAAAAAAAAAAAAAAAAAA', confirmName: '<string>'})
};
fetch('https://api2.rhombussystems.com/api/partner/deactivateClient', 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/partner/deactivateClient")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clientOrgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"confirmName\": \"<string>\"\n}")
.asString();{
"blockedByDevices": [
{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "<string>",
"serial": "<string>"
}
],
"blockedByLicenses": [
{
"licenseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"productCode": "<string>"
}
],
"deactivated": true,
"error": true,
"errorCode": "<string>",
"errorMsg": "<string>",
"reclaimedLicenses": 123,
"warningMsg": "<string>"
}Deactivate managed client
MSP only. Soft-deletes a managed client org after a typed name confirmation. Refused while devices are registered or MSP-owned licenses are assigned; unassigned pooled licenses are reclaimed first; every session in the client org is ended; the MSP’s authority row is kept so the org can be restored by Rhombus.
curl --request POST \
--url https://api2.rhombussystems.com/api/partner/deactivateClient \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"clientOrgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"confirmName": "<string>"
}
'import requests
url = "https://api2.rhombussystems.com/api/partner/deactivateClient"
payload = {
"clientOrgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"confirmName": "<string>"
}
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({clientOrgUuid: 'AAAAAAAAAAAAAAAAAAAAAA', confirmName: '<string>'})
};
fetch('https://api2.rhombussystems.com/api/partner/deactivateClient', 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/partner/deactivateClient")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clientOrgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"confirmName\": \"<string>\"\n}")
.asString();{
"blockedByDevices": [
{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "<string>",
"serial": "<string>"
}
],
"blockedByLicenses": [
{
"licenseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"productCode": "<string>"
}
],
"deactivated": true,
"error": true,
"errorCode": "<string>",
"errorMsg": "<string>",
"reclaimedLicenses": 123,
"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
Response
OK
Outcome of a client deactivation.
Devices still registered in the client org.
Show child attributes
Show child attributes
Pooled licenses still assigned to devices in the client org.
Show child attributes
Show child attributes
True when the org was soft-deleted by this call (or already was).
DEVICES_STILL_REGISTERED or LICENSES_STILL_ASSIGNED when deactivated is false.
Pooled licenses moved back to the MSP by this call.