Api session event editor netcluster remove network: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Remove Network {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(Enumeration) |NetType |ELECTRICITY, GAS, HEAT, INTERNET or SEWER |- |1 |REQUIRED |(true, false) |Boolean |true or false |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |204 |No Content |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/session/event/editornetcluster/remove_network/?f=HTML&tok..."
 
No edit summary
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editornetcluster/remove_network/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editornetcluster/remove_network/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ "GAS", true ]
<pre>[ "HEAT", true ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netcluster]]}}
{{article end|seealso=*[[api session event editor netcluster]]}}


[[Category:API]]
[[Category:API]]

Revision as of 08:19, 1 April 2026

API Event to Remove Network

Name Importance Type Description Values
0 REQUIRED (Enumeration) NetType ELECTRICITY, GAS, HEAT, INTERNET or SEWER
1 REQUIRED (true, false) Boolean true or false

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editornetcluster/remove_network/?f=JSON&token=API_TOKEN

with content:

[ "HEAT", true ]