Get Policy

Returns a policy by id.

Header Access Token

To call this endpoint, you must use your access token in the authorization header of the API request.

Path parameters

idstringRequired
ID of the policy to be fetched

Headers

AuthorizationstringRequired

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

Response

Policy fetched successfully
dataobject or null
errorobject or null