Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get project key validation

Validates a project key.

GET/api/2/projectvalidate/key
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
keystring

The project key

Responses
200

Returns an ErrorCollection containing any validation errors for the project key. If the project key is valid, the ErrorCollection will be empty.

errorMessagesstring[]
errorsobject
401

Returned if the user is not logged in.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/projectvalidate/key' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "errorMessages": [
    "string"
  ],
  "errors": {
    "property1": "string",
    "property2": "string"
  }
}

Was this page helpful?