Skip to main content

Add Logon Settings

POST 

/api/v31.02/settings/logon

x-prisma-cloud-target-env: {"permission":"authConfiguration","saas":false,"self-hosted":true}
x-public: true

Configures the timeout for Prisma Cloud Compute sessions.

For more information, see Logon Settings.

cURL Request

Refer to the following example cURL request that uses basic auth to set the timeout to 900 seconds (15 minutes):

curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-w "\nResponse code: %{http_code}\n" \
-X POST \
-d '{"sessionTimeoutSec": 900}' \
"https://<CONSOLE>/api/v<VERSION>/settings/logon"

Request

Responses

OK