{% extends 'layouts/api-accordion-child'     %}
{% set admin    = True                       %}
{% set id       = "blacklist_add"            %}
{% set title    = "/api/admin/blacklist/add" %}
{% set method   = "PUT"                      %}
{% set headers  = [('Content-Type', "This field is required to be set to:",  "application/x-www-form-urlencoded")]%}
{% set formdata = [('cpe', "CPE code in cpe2.2 or cpe2.3 format", "cpe:2.3:o:gnu:gcc#Comment"),
                   ('type', "CPE type", "cpe, targetsoftware or targethardware")] %}

{% block desc %}
Adds a CPE to the blacklist. If the CPE was added to the blacklist, the output will be true. If not, it will be false. <br />
Comments can be added by appending #<comment>
{% endblock %}

{% block output %}
true
{% endblock %}
