{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Project Avatars API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Project Avatars", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Set Project Avatar", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar", "params": [ { "name": "projectIdOrKey", "value": "", "type": "path", "description": "The ID or (case-sensitive) key of the project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets the avatar displayed for a project.

Use [Load project avatar](#api-rest-api-3-project-projectIdOrKey-avatar2-post) to store avatars against the project, before using this operation to set the displayed avatar.

**[Permissions](#permissions) required:** *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg)." }, { "info": { "name": "Atlassian Delete Project Avatar", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar/:id", "params": [ { "name": "projectIdOrKey", "value": "", "type": "path", "description": "The project ID or (case-sensitive) key." }, { "name": "id", "value": "", "type": "path", "description": "The ID of the avatar." } ] }, "docs": "Deletes a custom avatar from a project. Note that system avatars cannot be deleted.

**[Permissions](#permissions) required:** *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg)." }, { "info": { "name": "Atlassian Load Project Avatar", "type": "http" }, "http": { "method": "POST", "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar2", "params": [ { "name": "projectIdOrKey", "value": "", "type": "path", "description": "The ID or (case-sensitive) key of the project." }, { "name": "x", "value": "", "type": "query", "description": "The X coordinate of the top-left corner of the crop region." }, { "name": "y", "value": "", "type": "query", "description": "The Y coordinate of the top-left corner of the crop region." }, { "name": "size", "value": "", "type": "query", "description": "The length of each side of the crop region." } ] }, "docs": "Loads an avatar for a project.

Specify the avatar's local file location in the body of the request. Also, include the following headers:

* `X-Atlassian-Token: no-check` To prevent XSRF protection blocking the request, for more information see [Special Headers](#special-request-headers).
* `Content-Type: image/image type` Valid image types are JPEG, GIF, or PNG.

For example:
`curl --request POST `

`--user email@example.com: `

`--header 'X-Atlassian-T" }, { "info": { "name": "Atlassian Get All Project Avatars", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatars", "params": [ { "name": "projectIdOrKey", "value": "", "type": "path", "description": "The ID or (case-sensitive) key of the project." } ] }, "docs": "Returns all project avatars, grouped by system and custom avatars.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project." } ] } ], "bundled": true }