Add OAuth Settings
POST/api/v33.02/settings/oauth
x-prisma-cloud-target-env: {"permission":"authConfiguration"}
Configures the OAuth settings.
For more information, see GitHub OAuth and OpenShift
cURL Request
Refer to the following example cURL response:
curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X POST \
-d '{"clientID":"ef3a806a249a31b7d15e","clientSecret":{"encrypted":"O27GsQ7PDX4LrVx6q+A7sMLUAKTbKU3DAYTZyaOhqTqdNwI7raKFCA3/RrmRPUgk"},"providerName":"github","authURL":"https://github.com/login/oauth/authorize","tokenURL":"https://github.com/login/oauth/access_token","providerAlias":"github_ss"}' \
"https://<CONSOLE>/api/v<VERSION>/settings/oauth"
Request
Responses
- 200
- default
OK