People

Require a policy

POST
/organizations/{organizationId}/people/required-policies

Makes a published policy one that everyone must acknowledge. It sends no email.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/people/required-policies" \  -H "Content-Type: application/json" \  -d '{    "documentId": "string"  }'
{  "id": "string",  "organizationId": "string",  "documentId": "string",  "documentName": "string",  "documentState": "published",  "policyType": "string",  "countsAsPick": "hris.policy.acknowledged",  "countsAs": "hris.policy.acknowledged",  "statement": "string",  "round": -9007199254740991,  "roundStartedAt": null,  "roundReleaseVersion": -9007199254740991,  "publishedReleaseId": "string",  "publishedVersion": -9007199254740991,  "newerVersionPublished": true,  "isTraining": true,  "groupIds": [    "string"  ],  "owed": -9007199254740991,  "acknowledged": -9007199254740991,  "pending": -9007199254740991,  "overdue": -9007199254740991,  "dateCreated": null}