mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
activate/disable system
This commit is contained in:
@@ -80,4 +80,37 @@ Change the name of your instance.
|
||||
|
||||
**Response**
|
||||
|
||||
Similar to **GET api/v1/name**.
|
||||
Similar to **GET api/v1/name**.
|
||||
|
||||
<div class="api-method">
|
||||
GET api/v1/condition/enabled
|
||||
</div>
|
||||
<br/>
|
||||
**Description**
|
||||
|
||||
Check if enabled or disabled.
|
||||
|
||||
**Response**
|
||||
|
||||
{
|
||||
"active": "true",
|
||||
"delay": "5000"
|
||||
}
|
||||
|
||||
<div class="api-method">
|
||||
PUT api/v1/condition/enabled
|
||||
</div>
|
||||
<br/>
|
||||
**Description**
|
||||
|
||||
Activate or disable the system
|
||||
|
||||
**Data**
|
||||
|
||||
{
|
||||
"active": "false"
|
||||
}
|
||||
|
||||
**Response**
|
||||
|
||||
Similar to **GET api/v1/condition/enabled**.
|
||||
Reference in New Issue
Block a user