curl --location --request GET '/rest/api/3/projectvalidate/key'
{"errorMessages":[],"errors":{"projectKey":"A project with that project key already exists."}}