PATCH
/
plugins
/
{pluginId}
curl --request PATCH \
  --url https://api.mclicense.org/plugins/{pluginId} \
  --header 'Content-Type: application/json' \
  --header 'MCL-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "icon": "<string>"
}'
{
  "_id": "<string>",
  "name": "<string>",
  "icon": "<string>",
  "marketplace": {
    "type": "SpigotMC",
    "id": "<string>",
    "url": "<string>"
  }
}

Authorizations

MCL-Key
string
header
required

API key must start with 'mcl_'

Path Parameters

pluginId
string
required

Body

application/json
name
string
icon
string

Response

200 - application/json
Plugin updated successfully
name
string
required

Name of the plugin

_id
string

Unique identifier for the plugin

icon
string

URL to the plugin's icon

marketplace
object