🔑Licenses
Endpoint to manipulate licenses.
GET
- License Information
GET
- License InformationRetrieves information about a specific license key.
Parameter
Type
key
string
curl -X GET "https://cursedcurtain.site/api/licenses/?key=LICENSE" \
-H "Authorization: Bearer YOUR_API_KEY"
Upon success, this will return as JSON a License DataType object
DELETE
- Delete License
DELETE
- Delete LicenseDeletes a specific license key.
Parameter
Type
key
string
curl -X DELETE "https://cursedcurtain.site/api/licenses/?key=LICENSE" \
-H "Authorization: Bearer YOUR_API_KEY"
POST
- Create License
POST
- Create LicenseCreates a new license.
This approach requires a body. Please see an example below. Available product types: premium, developer
{
"product": "premium",
"duration": 7776000
}
curl -X POST "https://cursedcurtain.site/api/licenses/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product": "premium",
"duration": 7776000
}'
Last updated