Note: Subscription APIs are not available to trial users. For inquiries, please contact help@protecto.ai.
Overview #
This API endpoint is used to activate Protecto’s Master key.
HTTP Method #
PUT
Endpoint #
/activate_subscription
Headers #
Authorization:"Bearer <PROTECTO_MASTER_KEY>"
Response Format
{
"data": {
"message": "Subscription activated successfully."
},
"success": true,
"error": {"message": ""}
}
Response Fields
data: An object containing the response message.message: A message indicating the subscription was activated successfully.
success: A boolean indicating if the request was successful.error: An object containing error details, if any.message: A message describing the error, if any occurred.
Notes #
- Ensure that the
Authorizationheader contains a valid Master key. - The response will confirm whether the subscription was activated successfully or provide an error message if it was not.