API Guide
Security and Authentication
SECURITY SCHEMES
KEY TYPE DESCRIPTION
nfc_api_key apiKey Each API needs token in 'Authorization' header. The token can be retrieved
by using API- POST /auth/token. The token retrieved from this request
should be sent in 'Authorization' header as 'NFC {token}'
Example : curl -X GET https://SFD-IP/api/fabric-intents \
-H 'Accept: application/json' \
-H 'Authorization: NFC eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{
"name": "fabric-intent-1",
"description": "L3 BGP fabric"
}'
8 of 340










