Dokumentenaufbewahrung oder Lebenszyklus ändern
curl --request POST \
--url https://api.truthlocks.com/v1/vault/documents/{id}/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"confirmed": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', confirmed: true})
};
fetch('https://api.truthlocks.com/v1/vault/documents/{id}/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/vault/documents/{id}/actions"
payload = {
"reason": "<string>",
"confirmed": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/vault/documents/{id}/actions"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"confirmed\": true\n}")
req, _ := http.NewRequest("POST", 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))
}{
"status": "confirmed"
}Dokumententresor des Arbeitsbereichs
Dokumentenaufbewahrung oder Lebenszyklus ändern
Erfordert eine angemeldete Bearer-Sitzung eines Arbeitsbereichsmitglieds. API-Schlüssel werden nicht akzeptiert. Arbeitsbereich und Umgebung stammen aus der validierten Sitzung. Änderungen erfordern den Arbeitsbereichsbesitzer oder Administrator.
POST
/
v1
/
vault
/
documents
/
{id}
/
actions
Dokumentenaufbewahrung oder Lebenszyklus ändern
curl --request POST \
--url https://api.truthlocks.com/v1/vault/documents/{id}/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"confirmed": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', confirmed: true})
};
fetch('https://api.truthlocks.com/v1/vault/documents/{id}/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/vault/documents/{id}/actions"
payload = {
"reason": "<string>",
"confirmed": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/vault/documents/{id}/actions"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"confirmed\": true\n}")
req, _ := http.NewRequest("POST", 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))
}{
"status": "confirmed"
}Verwenden Sie eine gültige Bearer-Sitzung des Arbeitsbereichs. Ein API-Schlüssel kann diesen Endpunkt nicht autorisieren. Der aktuelle Arbeitsbereich und die Umgebung werden von dieser Sitzung abgeleitet.
Informationen zu Dateigrenzen, Versionierung, Sperren, Aufbewahrungs- und Entsorgungsverhalten finden Sie unter Informationsverarbeitung.
Pfadparameter
Body
application/json

