patch
https://app.usecanopy.com/api/v1.0.0/teams//policystream/streams/
Pauses or resumes a Policy Stream. Pausing stops the stream's runs and drops its queued work. Resuming checks the login again before the next run, unless the portal already rejected it, which you fix in the dashboard. Setting the status the stream already has succeeds and changes nothing.
Requires Policy Stream to be enabled for your team. API keys restricted to specific widgets are rejected, since agent portal logins belong to the whole team. A sandbox API key only sees sandbox streams, and a production key only production streams.

