People

Update a required policy

PATCH
/organizations/{organizationId}/people/required-policies/{requiredPolicyId}

Sets which check a policy without a type counts toward, or clears it.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
requiredPolicyId*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 PATCH "https://example.com/organizations/string/people/required-policies/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "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}