Update widget

Update the version named in the body (404 if it does not exist), or create the next draft version when the body names none. State only changes through publish and pause; a body state must match the stored one. A published version's config, type and targeting cannot change until it is paused.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The widget id

Query Params
string

The account ID. Defaults to the user's default account.

Body Params

The widget

integer
config
object

Raw Pathfora SDK config

date-time
string
string
excluded_segment_ids
array of strings
excluded_segment_ids
string
string
date-time
string
date-time
string
string
enum
Allowed:
date-time
target_segment_ids
array of strings
target_segment_ids
integer
string
enum
Allowed:
Responses

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