Navigate to the file on the Artifactory UI, select "Xray -> scan lists -> repo -> descendants ," and copy the displayed name. Use this name as the component name in the REST API call: