Script Management

Create Script

POST https://api.luashield.com/projects/:project_id/scripts

Create a script

Path Parameters

Name
Type
Description

project_id*

String

Project ID

Headers

Name
Type
Description

LuaShield-API-Key*

String

API Key

Request Body

Name
Type
Description

name*

String

Script Name

script*

String

Base64 encoded script

{
  "error": "Invalid API Key"
}

Delete Script

DELETE https://api.luashield.com/projects/:project_id/scripts

Delete a script

Path Parameters

Name
Type
Description

project_id*

String

Project ID

Request Body

Name
Type
Description

script_id*

String

Script ID

{
    "success": true
}

Last updated