Get User Authentication Access Token
POST/api/v32.07/authenticate
x-prisma-cloud-target-env: {"permission":"none"}
Retrieves an access token using your username and password. By default, access tokens are valid for 30 minutes. You can set the validity period in Console under Manage > Authentication > Logon.
Note: The username and password values are case-sensitive.
cURL Request
Refer to the following example cURL command:
$ curl -k \
-H "Content-Type: application/json" \
-X POST \
-d \
'{
"username":"admin",
"password":"password"
}' \
https://<CONSOLE>/api/v<VERSION>/authenticate
Response
Refer to the following successful example response that returns the access token for use in other API endpoints:
{"token", "ACCESS_TOKEN_VALUE"}
Request
Responses
- 200
- default
AuthenticationResponse returns the result of calling the authentication endpoint