PATCH /policystream/streams/{policyStreamId}

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.

Path Params
uuid
required

ID of Team

uuid
required

ID of the Policy Stream

Body Params
string
enum
required

PAUSED to pause the stream, ACTIVE to resume it

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json