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
Manage Policies
Read Policies
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
policyIdstringRequired

Policy ID.

Returns
Return Type:Promise<Policy>
Did this help?