getPolicy( )


Retrieves a policy by ID.

The getPolicy() function returns a Promise that resolves to a policy whose ID matches the given ID.

Permissions
Manage Events - all permissions
Read Policies
Manage Policies
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
policyIdstringRequired

Policy ID.

Returns
Return Type:Promise<Policy>
Was this helpful?
Yes
No