How to remove artifact e.g. template from repository?

I need to delete few forms from repo. How to do that?

You can remove template by curl

`#    curl --user USER -X POST http(s)://SERVER:PORT/repository/trash/artifact/NAME/ && echo "OK"`
`#    where`
`#        USER - username with permission to mark artifacts as deleted`
`#        SERVER - host address with the repository application`
`#        PORT - host port with repository application`
`#        NAZWA - the name of the artifact to tag`
`#`
`## e.g.:`

`curl --user eximee -X POST http://eximee.repository:8080/repository/trash/artifact/wniosek1/`
1 Like