Update data delivery rule

Replace an existing data delivery rule. This is a full replace: send the complete rule. Optional fields that are omitted are cleared, and status reverts to Enabled when omitted. createdAt and createdBy are preserved. Changes take effect within about 15 minutes.

Path Params
string
required

Unique identifier of the Sensos account.

string
required

Unique identifier of the data delivery rule.

Body Params

The complete data delivery rule.

A data delivery rule. Rules apply to every device in the account.

string
required

Descriptive name for the rule.

string

Optional human-readable description of the rule's purpose.

string
enum
Defaults to Enabled

Whether the rule delivers data. Defaults to Enabled when omitted.

Allowed:
string
enum
required

Type of data the rule delivers. Payload formats:

Allowed:
boolean

Applies only to DeviceReport rules. When true, device reports without a location fix are not delivered.

action
object
required

HTTP delivery action. Sensos sends each payload to url using method. Failed deliveries are retried as described in the retry policy.

Responses

401

The access token is missing, invalid or expired. Returned by the gateway with an empty body.

403

The caller has no permission for this operation or account. Returned by the gateway with an empty body.

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