![]() The keep-alive endpoint will respond with a new token and expiration and will invalidate the previous token.īelow you will find a link to a Postman collection that can be used to generate tokens and store them as variables for future API calls in Postman. Simply send a POST to the endpoint with the existing token in an Authorization header like you would to any other endpoint (see step 3 above). Need a little help getting started with Bearer Tokens? We've got you covered, with an example code snippet:īy default, tokens expire after 30 minutes, but you can use a currently valid token to generate a new token with a fresh 30 minute validity period, using the /v1/auth/keep-alive endpoint. You can use the previously generated token to make calls to any other Jamf Pro API endpoint by including it in a header using the format Authorization: Bearer TOKEN_VALUE. ![]()
0 Comments
Leave a Reply. |