Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invoke-RestMethod : The remote server returned an error: (405) Method Not Allowed.

Hi All,

i am try to post via rest api but always failing 

GET Works, thought it might had to do with permissions

getting this response:

server: AtlassianProxy/
content-type: text/html;charset=UTF-8
strict-transport-security: max-age=315360000; includeSubDomains; preload
Tue, 27 Apr 2021 14:40:58 GMT
atl-traceid: dc8c7ea888a97773
x-arequestid: e72ccd1c-f843-41bd-83a3-fc994c562dc8
x-aaccountid: 5f4e33091ac29c004559fc33
x-xss-protection: 1; mode=block
timing-allow-origin: *
x-envoy-upstream-service-time: 45
x-content-type-options: nosniff
expect-ct: report-uri="", enforce, max-age=86400


$body = @{
name = 'CICD - 1.0.1'
projectId = XXXXX
Invoke-RestMethod -uri '' -Headers $headers -Method Post -ContentType 'application/json' -Body ($body | ConvertTo-Json)


made my self administrator in the project with no success.


how can i fix it






Log in or Sign up to comment
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,750 views 8 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you