c# - Receiving HTTP 404 error when deleting project version in JIRA -


i using following code delete project version jira database using rest api:

httpwebrequest request = (httpwebrequest)webrequest.create(url); request.credentials = new system.net.networkcredential("username", "password"); request.method = "delete"; httpwebresponse response = request.getresponse(); 

url {self} field of version object , appears correct:

https://foobar.atlassian.net/rest/api/2/version/14455

where '14455' correct jira id of version.

the user has proper permissions.

but call returns 404 every time.

it appears jira documentation correct usage, i'm thinking there wrong code (this not field of expertise). can tell me what's going wrong?

tia


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -