Nexus 3 rest api for delete asset returns 405 error

Hi
we are getting error 405 when trying to delete an asset (raw) we just located
we are following the documentation api.

curl -v -u “xxx:xxx” -X DELETE “http://xyz:8081/sevice/rest/v1/assets/dG1vX3JlcG9zaXRvcnlfaGVsbTo3ZTdlNmQ1ZGY3ODE5MGIwZDk2YWU1NTQ0MGVkYTgxYw
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 10.75.41.25:8081…

  • TCP_NODELAY set
  • Connected to xyz port 8081 (#0)
  • Server auth using Basic with user ‘xxx’

DELETE /sevice/rest/v1/assets/dG1vX3JlcG9zaXRvcnlfaGVsbTo3ZTdlNmQ1ZGY3ODE5MGIwZDk2YWU1NTQ0MGVkYTgxYw HTTP/1.1
Host: xxx:8081
Authorization: Basic ZG9ja2VycHVzaDpkb2NrZXJwdXNo
User-Agent: curl/7.65.3
Accept: /

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 405 Http method DELETE is not supported by this URL
    < Date: Thu, 11 Aug 2022 09:10:14 GMT
    < Server: Nexus/3.25.1-04 (OSS)
    < X-Content-Type-Options: nosniff
    < Content-Length: 0

we are looking for a way to delete raw artifacts programmatically

regards

Ori

issue resolved - I’m able to delete the component , the asset is also removed. can it be that I was trying to delete the component ID using the asset API ?