Put Token Default Expiry Value

JFrog REST APIs

ft:sourceType
Paligo

Description: Set your system's token default expiry value.

Since: 7.62.x

Security: Requires a user with admin permissions.

Usage: PUT /access/api/v1/config/token/default_expiry

The value of default_expiry is in seconds.

Produces: application/json

Example:

curl -H "Content-type: application/json" -H "Authorization: Bearer ACCESS_TOKEN" -XPUT "http://localhost:8082/access/api/v1/config/token/default_expiry" -d \
'{
"default_token_expiration": 32000000
}'

{
  "default_token_expiration" : 32000000
}