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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” filename
required
string
Stored avatar object filename, including the image extension.
Responses
Section titled “ Responses ”Avatar image bytes.
string format: binary
string format: binary
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"}