Verknüpfungen auf Standard zurück
curl --request DELETE \
--url https://ki.muster.example/api/v1/mandanten/{id}/access \
--header 'Authorization: Bearer <token>' \
--header 'If-Match: <if-match>'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/access"
headers = {
"If-Match": "<if-match>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'If-Match': '<if-match>', Authorization: 'Bearer <token>'}
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/access', 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 => "https://ki.muster.example/api/v1/mandanten/{id}/access",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"If-Match: <if-match>"
],
]);
$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 := "https://ki.muster.example/api/v1/mandanten/{id}/access"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("If-Match", "<if-match>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://ki.muster.example/api/v1/mandanten/{id}/access")
.header("If-Match", "<if-match>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/access")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["If-Match"] = '<if-match>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"access": {
"version": 4503599627370495,
"customised": true,
"directory": {
"provider": "entra",
"tenant": "<string>",
"state": "off",
"stateText": "<string>",
"connectedAt": "<string>",
"connectedBy": {
"id": "<string>",
"name": "<string>"
},
"lastSync": {
"at": "<string>",
"ok": true,
"kind": "full",
"changes": 4503599627370495,
"ms": 4503599627370495,
"error": "<string>"
},
"nextSyncAt": "<string>",
"intervalMin": 123,
"people": 4503599627370495,
"enabledPeople": 4503599627370495,
"groups": 4503599627370495,
"connect": {
"provider": "entra",
"permissions": [
"<string>"
],
"steps": [
"<string>"
],
"blocked": "<string>",
"stepsSaid": [
{
"code": "<string>",
"vars": {}
}
],
"blockedSaid": {
"code": "<string>",
"vars": {}
},
"next": "signin",
"alternatives": [
"entra"
]
},
"stateSaid": {
"code": "<string>",
"vars": {}
},
"reads": "delegated",
"reconsent": true,
"held": {
"id": "<string>",
"at": "<string>",
"kind": "full",
"known": 4503599627370495,
"gone": 4503599627370495,
"confirmed": {
"by": {
"id": "<string>",
"name": "<string>"
},
"at": "<string>"
},
"lost": 4503599627370495,
"groups": 4503599627370495
},
"scim": {
"url": "<string>",
"public": true,
"tokens": [
{
"id": "<string>",
"at": "<string>",
"expiresAt": "<string>",
"until": "<string>"
}
],
"lastPushAt": "<string>"
},
"ad": {
"sites": 4503599627370495,
"controllers": [
{
"location": "<string>",
"ok": true
}
]
}
},
"adminGroup": "<string>",
"groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"kind": "security",
"members": 4503599627370495,
"direct": 4503599627370495,
"parents": [
"<string>"
],
"children": [
"<string>"
],
"source": "directory"
}
],
"links": [
{
"id": "<string>",
"group": "<string>",
"groupName": "<string>",
"role": "admin",
"apps": [
"<string>"
],
"resources": [
"<string>"
],
"source": "standard",
"orphaned": true,
"members": 4503599627370495,
"note": "<string>",
"via": "console",
"by": {
"id": "<string>",
"name": "<string>"
},
"at": "<string>"
}
],
"targets": [
{
"kind": "app",
"id": "<string>",
"name": "<string>",
"where": "<string>",
"tags": [
"<string>"
],
"restricted": true,
"groups": [
"<string>"
]
}
],
"notices": [
{
"id": "<string>",
"kind": "group-new",
"title": "<string>",
"text": "<string>",
"group": "<string>",
"app": "<string>",
"at": "<string>",
"status": "open",
"doneBy": {
"id": "<string>",
"name": "<string>"
},
"doneAt": "<string>",
"proposal": {
"id": "<string>",
"group": "<string>",
"groupName": "<string>",
"members": 4503599627370495,
"role": "admin",
"apps": [
"<string>"
],
"resources": [
"<string>"
],
"rule": "admin",
"reason": "<string>",
"confidence": "hoch"
},
"said": {
"title": {
"code": "<string>",
"vars": {}
},
"text": {
"code": "<string>",
"vars": {}
}
}
}
],
"updatedAt": "<string>",
"updatedBy": {
"id": "<string>",
"name": "<string>"
},
"monoGroups": [],
"monoGroupsOffered": false
}
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}Verknüpfungen auf Standard zurück
Verknüpfungen auf Standard zurück.
Im Chat mit «Mono Admin»: access_change.
DELETE
/
mandanten
/
{id}
/
access
Verknüpfungen auf Standard zurück
curl --request DELETE \
--url https://ki.muster.example/api/v1/mandanten/{id}/access \
--header 'Authorization: Bearer <token>' \
--header 'If-Match: <if-match>'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/access"
headers = {
"If-Match": "<if-match>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'If-Match': '<if-match>', Authorization: 'Bearer <token>'}
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/access', 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 => "https://ki.muster.example/api/v1/mandanten/{id}/access",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"If-Match: <if-match>"
],
]);
$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 := "https://ki.muster.example/api/v1/mandanten/{id}/access"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("If-Match", "<if-match>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://ki.muster.example/api/v1/mandanten/{id}/access")
.header("If-Match", "<if-match>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/access")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["If-Match"] = '<if-match>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"access": {
"version": 4503599627370495,
"customised": true,
"directory": {
"provider": "entra",
"tenant": "<string>",
"state": "off",
"stateText": "<string>",
"connectedAt": "<string>",
"connectedBy": {
"id": "<string>",
"name": "<string>"
},
"lastSync": {
"at": "<string>",
"ok": true,
"kind": "full",
"changes": 4503599627370495,
"ms": 4503599627370495,
"error": "<string>"
},
"nextSyncAt": "<string>",
"intervalMin": 123,
"people": 4503599627370495,
"enabledPeople": 4503599627370495,
"groups": 4503599627370495,
"connect": {
"provider": "entra",
"permissions": [
"<string>"
],
"steps": [
"<string>"
],
"blocked": "<string>",
"stepsSaid": [
{
"code": "<string>",
"vars": {}
}
],
"blockedSaid": {
"code": "<string>",
"vars": {}
},
"next": "signin",
"alternatives": [
"entra"
]
},
"stateSaid": {
"code": "<string>",
"vars": {}
},
"reads": "delegated",
"reconsent": true,
"held": {
"id": "<string>",
"at": "<string>",
"kind": "full",
"known": 4503599627370495,
"gone": 4503599627370495,
"confirmed": {
"by": {
"id": "<string>",
"name": "<string>"
},
"at": "<string>"
},
"lost": 4503599627370495,
"groups": 4503599627370495
},
"scim": {
"url": "<string>",
"public": true,
"tokens": [
{
"id": "<string>",
"at": "<string>",
"expiresAt": "<string>",
"until": "<string>"
}
],
"lastPushAt": "<string>"
},
"ad": {
"sites": 4503599627370495,
"controllers": [
{
"location": "<string>",
"ok": true
}
]
}
},
"adminGroup": "<string>",
"groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"kind": "security",
"members": 4503599627370495,
"direct": 4503599627370495,
"parents": [
"<string>"
],
"children": [
"<string>"
],
"source": "directory"
}
],
"links": [
{
"id": "<string>",
"group": "<string>",
"groupName": "<string>",
"role": "admin",
"apps": [
"<string>"
],
"resources": [
"<string>"
],
"source": "standard",
"orphaned": true,
"members": 4503599627370495,
"note": "<string>",
"via": "console",
"by": {
"id": "<string>",
"name": "<string>"
},
"at": "<string>"
}
],
"targets": [
{
"kind": "app",
"id": "<string>",
"name": "<string>",
"where": "<string>",
"tags": [
"<string>"
],
"restricted": true,
"groups": [
"<string>"
]
}
],
"notices": [
{
"id": "<string>",
"kind": "group-new",
"title": "<string>",
"text": "<string>",
"group": "<string>",
"app": "<string>",
"at": "<string>",
"status": "open",
"doneBy": {
"id": "<string>",
"name": "<string>"
},
"doneAt": "<string>",
"proposal": {
"id": "<string>",
"group": "<string>",
"groupName": "<string>",
"members": 4503599627370495,
"role": "admin",
"apps": [
"<string>"
],
"resources": [
"<string>"
],
"rule": "admin",
"reason": "<string>",
"confidence": "hoch"
},
"said": {
"title": {
"code": "<string>",
"vars": {}
},
"text": {
"code": "<string>",
"vars": {}
}
}
}
],
"updatedAt": "<string>",
"updatedBy": {
"id": "<string>",
"name": "<string>"
},
"monoGroups": [],
"monoGroupsOffered": false
}
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}