Force check-in secret
curl --request POST \
--url https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin \
--header 'Authorization: <api-key>'import requests
url = "https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin', 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://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$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://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 123,
"message": "<string>"
}{
"status": 123,
"message": "<string>"
}Endpoints
Force Check-In
Syteca ACB REST API endpoint to forcibly check in a secret that’s currently checked out — useful for releasing secrets held by absent users or unresponsive automation.
POST
/
api
/
secrets
/
{id}
/
force-checkin
Force check-in secret
curl --request POST \
--url https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin \
--header 'Authorization: <api-key>'import requests
url = "https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin', 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://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$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://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-syteca-host/SytecaACB/api/secrets/{id}/force-checkin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 123,
"message": "<string>"
}{
"status": 123,
"message": "<string>"
}Forcibly checks in a secret that’s currently checked out by another user or automation. Used when an automation pipeline crashed without checking in, when a user has left and held checked-out secrets, or when administrative intervention is required to free up a high-contention secret.
For ACB deployments updated from a version prior to 1.2, switch to the
https://{hostname}/EkranACB server in the Playground.Permissions required
The user owning the Access Token must have Owner role on the secret. The original checker-out can be a different user — force check-in is the administrative override.Auto-rotation on force check-in
If the secret’s CheckOut configuration hasrotate_on_checkin: true, force check-in also rotates the password — protecting against the scenario where the previous checker-out may have leaked the credential.
Errors
See Status codes. Common errors:- 403 Forbidden — user lacks Owner role.
- 404 Not Found — secret doesn’t exist.
- 409 Conflict — secret is not currently checked out.
Related
Get secret
Check current check-out state.
Update secret
Modify check-out configuration.
Rotate password
Standalone rotation if force-checkin didn’t auto-rotate.
Data models — CheckOut
CheckOut schema.