When trying to create a new Flex Config in the API-Explorer, I get the an error message. Anyone that has gotten this to work?
curl -X 'POST' \
'/api/fmc_config/v1/domain/ID/policy/flexconfigpolicies' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-auth-access-token: TOKEN' \
-d '{
"name": "TOS3",
"description": "Test",
"type": "FlexConfigPolicy"
}'
{
"error": {
"category": "FRAMEWORK",
"messages": [
{
"description": "Operation not supported"
}
],
"severity": "ERROR"
}
}
Documentation: https://www.cisco.com/c/en/us/td/docs/security/firepower/741/api/REST/secure_firewall_management_center_rest_api_quick_start_guide_741/Objects_In_The_REST_API.html#reference_pvd_cjx_p5b