PUT /txn This endpoint permits submitting a list of operations to apply to Consul inside of a transaction. If any operation fails, the transaction is rolled back and none of the changes are applied.
PUT /txn This endpoint permits submitting a list of operations to apply to Consul inside of a transaction. If any operation fails, the transaction is rolled back and none of the changes are applied.
Value parameters
consistencyMode
For read-only transactions. For more info see ConsistencyMode
dc
Specifies the datacenter to query. This will default to the datacenter of the agent being queried. This is specified as part of the URL as a query parameter.
token
consul token
txTasks
operation list. Up to 64 operations may be present in a single transaction.
Attributes
Returns
transaction results. If transaction was roll-backed then errors field will not be empty/