Create payroll_recovery_config
POST/v1/payroll_recovery_configs
Create a new payroll_recovery_config in the active tenant.
Data model
This operation works on the entity Payroll Recovery Config (payroll_recovery_config). All 10 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
activated,currentKeyId -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,activatedAt,activatedBy,currentKeyId,recoveryHistory— the platform assigns these fields; they are discarded in the request.
Example
curl -X POST https://api.codemeta-os.de/v1/payroll_recovery_configs \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.payroll_recovery_configs.post();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |