Use the create command to create a specified resource through the API


The endorctl api create command creates an object of a specified resource type.

endorctl api create -r [resource] [flags]


To create a package manager integration that uses the repository for dependency resolution in Python with the top priority for dependency resolution use the following command:

endorctl api create -r PackageManager \
    --data '{"meta":{"name":"pypi PackageManager"},"spec":{"pypi":{"url":" ","priority":0}}}'