Skip to content

Download an admin avatar image.

GET
/api/admin/avatars/{filename}
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/avatars/example \
--header 'Authorization: Bearer <token>'

Streams an uploaded admin avatar object from the AVATARS bucket. The response body is image bytes and is cached immutably when the object exists. Unsupported filenames or missing objects return a not-found error.

filename
required
string

Stored avatar object filename, including the image extension.

Avatar image bytes.

string format: binary

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}