getPolicy( )


Retrieves a policy by ID.

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Events - all permissions
Read Policies
Manage Policies
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
policyIdstringRequired

Policy ID.

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