Back to Netbox

Token Example

netbox/templates/users/panels/token_example.html

4.6.3336 B
Original Source

{% extends 'ui/panels/_base.html' %} {% block panel_content %}

curl -X GET \
-H "Authorization: {{ object.get_auth_header_prefix }}<TOKEN>" \
-H "Content-Type: application/json" \
-H "Accept: application/json; indent=4" \
{{ request.scheme }}://{{ request.get_host }}{% url "api-status" %} {% endblock panel_content %}