Eine Zeile der Fähigkeiten ändern (Vorlage oder Auswahl) oder alles auf Standard – auditiert
curl --request PUT \
--url https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"row": "<string>",
"faehigkeiten": [],
"noAsk": [],
"add": [],
"remove": [
"<string>"
],
"read": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten"
payload = {
"row": "<string>",
"faehigkeiten": [],
"noAsk": [],
"add": [],
"remove": ["<string>"],
"read": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
row: '<string>',
faehigkeiten: [],
noAsk: [],
add: [],
remove: ['<string>'],
read: '<string>'
})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten', 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}/suite/faehigkeiten",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'row' => '<string>',
'faehigkeiten' => [
],
'noAsk' => [
],
'add' => [
],
'remove' => [
'<string>'
],
'read' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten"
payload := strings.NewReader("{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"faehigkeiten": {
"provider": "m365",
"system": "<string>",
"faehigkeiten": [
{
"id": "mail.read",
"label": "<string>",
"text": "<string>",
"kind": "read",
"own": true,
"service": "mail",
"serviceName": "<string>",
"scopes": [
{
"scope": "<string>",
"granted": true,
"verified": true
}
],
"tenant": "<string>",
"ops": [
{
"id": "<string>",
"tool": "<string>",
"title": "<string>",
"level": "off",
"available": true,
"reason": "<string>"
}
],
"mono": true,
"onUse": true
}
],
"rows": [
{
"key": "<string>",
"name": "<string>",
"people": 4503599627370495,
"held": [
"mail.read"
],
"noAsk": [
"mail.read"
],
"unknown": [],
"preset": "standard",
"customised": true,
"gone": false,
"state": "<string>"
}
],
"presets": [
{
"id": "standard",
"label": "<string>",
"faehigkeiten": [
"mail.read"
]
}
],
"customised": true,
"missing": [
"<string>"
],
"decided": {
"by": "<string>",
"at": "<string>"
},
"canEdit": true,
"state": "<string>",
"switched": {
"from": "m365",
"rows": 4503599627370495,
"given": [
{
"id": "<string>",
"rows": [
{
"key": "<string>",
"name": "<string>",
"gone": true
}
],
"standard": true
}
]
}
}
}{
"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"
}Eine Zeile der Fähigkeiten ändern (Vorlage oder Auswahl) oder alles auf Standard – auditiert
Eine Zeile der Fähigkeiten ändern (Vorlage oder Auswahl) oder alles auf Standard – auditiert.
Im Chat mit «Mono Admin»: .
PUT
/
mandanten
/
{id}
/
suite
/
faehigkeiten
Eine Zeile der Fähigkeiten ändern (Vorlage oder Auswahl) oder alles auf Standard – auditiert
curl --request PUT \
--url https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"row": "<string>",
"faehigkeiten": [],
"noAsk": [],
"add": [],
"remove": [
"<string>"
],
"read": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten"
payload = {
"row": "<string>",
"faehigkeiten": [],
"noAsk": [],
"add": [],
"remove": ["<string>"],
"read": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
row: '<string>',
faehigkeiten: [],
noAsk: [],
add: [],
remove: ['<string>'],
read: '<string>'
})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten', 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}/suite/faehigkeiten",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'row' => '<string>',
'faehigkeiten' => [
],
'noAsk' => [
],
'add' => [
],
'remove' => [
'<string>'
],
'read' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten"
payload := strings.NewReader("{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/suite/faehigkeiten")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"row\": \"<string>\",\n \"faehigkeiten\": [],\n \"noAsk\": [],\n \"add\": [],\n \"remove\": [\n \"<string>\"\n ],\n \"read\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"faehigkeiten": {
"provider": "m365",
"system": "<string>",
"faehigkeiten": [
{
"id": "mail.read",
"label": "<string>",
"text": "<string>",
"kind": "read",
"own": true,
"service": "mail",
"serviceName": "<string>",
"scopes": [
{
"scope": "<string>",
"granted": true,
"verified": true
}
],
"tenant": "<string>",
"ops": [
{
"id": "<string>",
"tool": "<string>",
"title": "<string>",
"level": "off",
"available": true,
"reason": "<string>"
}
],
"mono": true,
"onUse": true
}
],
"rows": [
{
"key": "<string>",
"name": "<string>",
"people": 4503599627370495,
"held": [
"mail.read"
],
"noAsk": [
"mail.read"
],
"unknown": [],
"preset": "standard",
"customised": true,
"gone": false,
"state": "<string>"
}
],
"presets": [
{
"id": "standard",
"label": "<string>",
"faehigkeiten": [
"mail.read"
]
}
],
"customised": true,
"missing": [
"<string>"
],
"decided": {
"by": "<string>",
"at": "<string>"
},
"canEdit": true,
"state": "<string>",
"switched": {
"from": "m365",
"rows": 4503599627370495,
"given": [
{
"id": "<string>",
"rows": [
{
"key": "<string>",
"name": "<string>",
"gone": true
}
],
"standard": true
}
]
}
}
}{
"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"
}Autorisierungen
Body
application/json
- Option 1
- Option 2
Maximum array length:
25Verfügbare Optionen:
mail.read, mail.drafts, mail.send, calendar.read, calendar.freebusy, calendar.shared, calendar.private, calendar.invite, chats.read, chats.send, channels.read, channels.send, contacts.read, files.read, sites.read, tasks.read, tasks.write, notes.read, notes.write, meetings.record, files.create, sites.create, meetings.notice, meetings.transcript, people.search Maximum array length:
25Verfügbare Optionen:
mail.read, mail.drafts, mail.send, calendar.read, calendar.freebusy, calendar.shared, calendar.private, calendar.invite, chats.read, chats.send, channels.read, channels.send, contacts.read, files.read, sites.read, tasks.read, tasks.write, notes.read, notes.write, meetings.record, files.create, sites.create, meetings.notice, meetings.transcript, people.search Maximum array length:
25Verfügbare Optionen:
mail.read, mail.drafts, mail.send, calendar.read, calendar.freebusy, calendar.shared, calendar.private, calendar.invite, chats.read, chats.send, channels.read, channels.send, contacts.read, files.read, sites.read, tasks.read, tasks.write, notes.read, notes.write, meetings.record, files.create, sites.create, meetings.notice, meetings.transcript, people.search