Entitlements

Entitlements Sync

Synchronise tokens from a source repository.

Request

posthttps://api.cloudsmith.io/v1/entitlements/{owner}/{repo}/sync
Query params
show_tokens
boolean
Show entitlement token strings in results
Body params optional

Response body

object

object

source
string
required
length ≥ 1

Response

Responses

The tokens have been synchronised from the source repository.

object

object

tokens
array of objects
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Owner namespace or repository not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional