Refresh an entitlement token in a repository.

Refresh an entitlement token in a repository.

Path Params
string
required
string
required
string
required
Query Params
boolean
Defaults to false

Show entitlement token strings in results

Body Params
boolean

If checked, a EULA acceptance is required for this token.

boolean

If enabled, the token will allow downloads based on configured restrictions (if any).

integer | null
-9223372036854776000 to 9223372036854776000

The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.

string | null
enum
Defaults to Byte
date-time | null

The starting date/time the token is allowed to be used from.

date-time | null

The ending date/time the token is allowed to be used until.

integer | null
-9223372036854776000 to 9223372036854776000

The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.

integer | null
-9223372036854776000 to 9223372036854776000

The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.

string | null

The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.

string | null

THIS WILL SOON BE DEPRECATED, please use limit_package_query instead. The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.

metadata
object | null
date-time | null

The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.

string | null
enum
Defaults to Never Reset
string
length ≥ 1
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)