Documents

Get a policy document's source-template status

GET
/organizations/{organizationId}/documents/{documentId}/template-status

Whether a newer template version is available and the data needed to adopt it (recommended controls, prior form answers).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
documentId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/template-status"
{  "policyType": "string",  "templateId": "string",  "templateSource": "global",  "templateName": "string",  "templateVersion": 0,  "policyTemplateVersion": 0,  "recommendedControlKeys": [    "string"  ],  "hasFormSubmission": true,  "updateAvailable": true}