Creating an API client
The configuration of these resources is done by using ISV REST APIs. In order to invoke these APIs, you must obtain an access token.
If not done already, create an API Client. See Managing API clients. Use its client credentials to obtain an access token for use with the following CURL commands.
The following entitlements are needed for the API client.
managemfamethods
manageaccesspolicies
Example of an OAuth client credentials request
Use this example to obtain an access
token.
curl --location --request POST 'https://{{tenant}}/v1.0/endpoint/default/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: application/json' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id={{client id}}}}' \
--data-urlencode 'client_secret={{client secret}}'
Response:
{
"access_token": "4RKLXZUMymwu9izVsDcll9SY",
"grant_id": "4331b551-0a23-4a8e-8ee1-3db2a2e84efe",
"token_type": "Bearer",
"expires_in": 7200
}