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
 
(3 intermediate revisions by the same user not shown)
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>[ "SEWER", true ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor netcluster]]}}
{{article end|seealso=*[[Api session event editor netcluster]]
*[[Api session items netclusters]]
}}


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

Latest revision as of 12:08, 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:

[ "SEWER", true ]