Setting repository avatar via Bitbucket API

Does Bitbucket API support setting repository’s avatar (logo)? I tried POSTing a new repository to https://api.bitbucket.org/2.0/repositories with the following body, but it doesn’t seem to work:

{
    "name": "new_repo",
    "links": {
        "avatar": {
            "href": "https://bytebucket.org/ravatar/%7B277633b4-0fbe-4c5d-98d4-a710719b8846%7D?ts=java"
        }
    ...
}