avatar
Accessed as client.orgs.avatar; the async client mirrors it.
OrgsAvatar
The orgs.avatar namespace.
delete
delete(org: str) -> None
Delete an organization's avatar. It will be replaced by a default one.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
org
|
str
|
name of the organization |
required |
Returns:
| Type | Description |
|---|---|
None
|
No content. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: orgDeleteAvatar
update
update(org: str, *, image: str | None = None) -> None
Update an organization's avatar.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
org
|
str
|
name of the organization |
required |
image
|
str | None
|
image must be base64 encoded |
None
|
Returns:
| Type | Description |
|---|---|
None
|
No content. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: orgUpdateAvatar
AsyncOrgsAvatar
The orgs.avatar namespace.
delete
delete(org: str) -> None
Delete an organization's avatar. It will be replaced by a default one.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
org
|
str
|
name of the organization |
required |
Returns:
| Type | Description |
|---|---|
None
|
No content. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: orgDeleteAvatar
update
update(org: str, *, image: str | None = None) -> None
Update an organization's avatar.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
org
|
str
|
name of the organization |
required |
image
|
str | None
|
image must be base64 encoded |
None
|
Returns:
| Type | Description |
|---|---|
None
|
No content. |
Raises:
| Type | Description |
|---|---|
NotFoundError
|
|
Operation ID: orgUpdateAvatar