Adding API JSON files
About this task
After configuring an API JSON file, add it to ASE to activate ASE processing.
Steps
-
To add an API, do one of the following:
Choose from:
-
Run the following command-line interface (CLI) command:
/<ASE_Installation path>/pingidentity/ase/bin/cli.sh –u admin -p admin add_api {file_path/api_name} -
Use the Create API in ASE Admin APIs to add an API JSON file to ASE.
The following is a sample
curlcommand for it:curl --location --request POST '{{API}}=<API Name>' \ --header '{{Access_Key_Header}}: {{Access_Key}}' \ --header '{{Secret_Key_Header}}: {{Secret_key}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "api_metadata": { "protocol": "https", "url": "/patmapp", "hostname": "*", "oauth2_access_token": false, "apikey_qs": "", <<Request body continues...>>
-