Stampfactory
Dokumentation
Recruiting

Recruiting-Einstellungen ändern

Partial update; a changed privacy notice raises its version

PUT
/recruiting/settings
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Recruiting settings (OpenSpec add-recruiting, D12, task 1.5): privacy notice (empty = standard text), retention period 1 to 24 months and the HR recipient address (empty = everybody with recruiting:manage) and whether the postings may enter the aggregate job feeds (D16). Partial update; the version counter is never client-writable.

Response-Body

application/json

application/json

application/json

curl -X PUT "https://example.com/recruiting/settings" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "privacy_notice": "string",    "privacy_notice_is_default": true,    "privacy_notice_version": 0,    "retention_months": 0,    "retention_months_min": 0,    "retention_months_max": 0,    "retention_months_default": 0,    "notification_email": "string",    "feeds_enabled": true  }}