X-Atlassian-Token: no-check To prevent XSRF protection blocking the request, for more information see Special Headers.Content-Type: image/image type Valid image types are JPEG, GIF, or PNG.curl --request POST --user email@example.com:<api_token> --header 'X-Atlassian-Token: no-check' --header 'Content-Type: image/< image_type>' --data-binary "<@/path/to/file/with/your/avatar>" --url 'https://your-domain.atlassian.net/rest/api/3/project/{projectIdOrKey}/avatar2'curl --location -g --request POST 'http:///rest/api/3/project//avatar2' \
--header 'Content-Type: text/plain' \
--data-raw ''{"id":"1010","isSystemAvatar":false,"isSelected":false,"isDeletable":true}
【JIRA7.6.1】API开发者 微信交流群
用微信扫右侧二维码,加入【JIRA7.6.1】API开发者 交流群,互助沟通

扫码加入交流群