Update an existing Sigma Query

Changed on

Update an existing Sigma query that previously exists

post/v1/sigma/saved_queries/{id}

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/sigma/saved_queries/{id}
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

idstring required

The id of the saved query to update. This should be a valid id that was previously created.

Request body application/x-www-form-urlencoded

expandstring[]

Specifies which fields in the response should be expanded.

namestring

The name of the query to update.

sqlstring

The sql statement to update the specified query statement with. This should be a valid ANSI SQL statement that can be run in Sigma.

Response

Successful response.

createdinteger required

Time at which the object was created. Measured in seconds since the Unix epoch.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

namestring required

The name of the query.

object'sigma.sigma_api_query' required

String representing the object's type. Objects of the same type share the same value.

sqlstring required

The sql statement for the query.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

Some revisions have not been checked yet.