Get Policy

Returns a policy by id. <Note title="Header Access Token"> To call this endpoint, you must use your [access token](/docs/how-to-create-access-keys) in the [authorization header](/docs/how-to-use-api-keys-in-http-headers) of the API request. </Note>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequiredDefaults to a844e221-3c13-40c6-95db-d2db390e14b5
ID of the policy to be fetched

Response

Policy fetched successfully
dataobject or null
errorobject or null