Skip to main content

HTTP methods

The HTTP Methods field decides which HTTP verbs a key may use in its options.method.

SelectionResult
(blank)All methods are allowed, including ones not in the list below (such as PATCH). The key list shows All methods allowed.
One or more of GET, POST, PUT, DELETEOnly those methods are allowed.

Method names are compared exactly, so send them in upper case (GET, not get) in your requests.

No PATCH in the picker

The picker offers GET, POST, PUT and DELETE. To allow PATCH, leave the field blank and restrict the key by endpoint instead.

What each method is usually for​

MethodIn the Jira and Confluence REST APIs
GETRead data. Never changes anything.
POSTCreate things (issues, pages, comments). Some search endpoints also use POST to read.
PUTUpdate or replace things.
DELETEDelete things.

Read-only keys​

Select only GET. Since Jira's and Confluence's Cloud REST APIs use HTTP verbs consistently, no GET request can change data on your site. See Read-only keys.

caution

A key that allows POST can create content and can also call POST-based search endpoints. If a key only needs to read, do not give it POST.

Combining with endpoints​

Methods and endpoints are independent checks. A key with GET and the endpoint /rest/api/3/issue can read issues and sub-resources such as comments, but cannot create an issue.

If you use a pinned endpoint (an entry with a query string), GET must be among the allowed methods, otherwise the app refuses to save the key.