Yes, you can use an access token
to assign variable
.
Your current using token
This is demo, current you use "Get New Access Token"
I am using Keycloak v.18, getting token as admin

New method using variable
You can make own POST call for getting access-token
and then assign same name variable.
Before your API call, you needs this code in Tests
section.
var jsonData = JSON.parse(responseBody);
postman.setEnvironmentVariable("access-token", jsonData.access_token);

POST call, your token URL and key/value for your inputs.
If you success, will get response in body

How to use it in other API call.
In the Authorization
tab, select Bearer Token
Type

And Add this code. it is access token.
{{access-token}}
Then you can call any API like this.
Will get the result
