/package-label-assignments

Assign one or more Package Labels to a single package. Note - This endpoint is not available for organizations on the Free plan.

Body Params
string
required

The ID of the package to assign labels to.

string

The version of the package to assign labels to or blank for all versions.

string
enum

The scope of the package label assignment.

Allowed:
string

The ID of the scope to assign labels to.

labelIds
array of integers

The IDs of the labels to assign to the package.

labelIds
Responses

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