1. Home
  2. Docs
  3. API Documentation
  4. Integration
  5. ChangeShodan

ChangeShodan

Route: https://api.kayran.live/ChangeShodan

Using this function allow users to integrate and use Shodan in their server.

Roles Required: Admin.

Request Syntax

{
"apiKey": "String", "key": "String"
}


Request Parameters

Parameters being used in the Request

Parameter Name :

apiKey

Parameter Usage and Options :

Your Kayran given API Key.

How do I get it ? :

Located in the “Profile” section.

Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.

Type :

String

Is it Optional ? :

No.


Parameter Name :

key

Parameter Usage and Options :

The Shodan key you wish to use\enable.

Type :

String

Is it Optional ? :

No.


Successful Response

{
    "Error": 0,
    "Function": "ChangeShodan",
    "Data": "Success"
}

Errors and their Possible Causes

For more information, please refer to the General Errors section.