I'm trying to create a project using rest api endpoint "/rest/api/3/project", I'm using leadAccountId key to assign a lead to the project which is throwing internal server error with "status code 405". please help me I have struck here for two days. thank you in advance
payload = json.dumps({
"notificationScheme": 10021,
"description": "Example Project description",
"lead": "<accountId>",
"url": "http://atlassian.com",
"projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control",
"avatarId": 10200,
"issueSecurityScheme": 10001,
"name": "New key",
"permissionScheme": 10011,
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "business",
"key": "NK",
"categoryId": 10120
}
)