Deleting a process definition with rest
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2014 12:17 PM
Hello, after reading the documentation it says the to delete a deployment with rest, this is the what must be called:
using curl the command looks like this:
I get a HTTP/1.1 403 Forbidden error message, when I try another deployment id that does not exist it also give me a 403, I am not sure if this is a tomcat rights issue or if I am misunderstanding something, using curl to upload the process definition works fine though.
DELETE repository/deployments/{deploymentId}
using curl the command looks like this:
curl -X DELETE -u"X:X" http://X/activiti-rest/repository/deployments/9912
I get a HTTP/1.1 403 Forbidden error message, when I try another deployment id that does not exist it also give me a 403, I am not sure if this is a tomcat rights issue or if I am misunderstanding something, using curl to upload the process definition works fine though.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2014 05:50 AM
Did you change something in the default setup, because typically you would have an url like activiti-rest/service/repository……
Best regards,
Best regards,
