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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -