After configuring an API JSON file, add it to ASE to activate ASE processing.
-
To add an API, do one of the following:
- 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
curl
command 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...>>
- Run the following command-line interface (CLI)
command: