Skip to content

Current user

GET
/api/v1/auth/me
curl --request GET \
--url http://localhost:8080/api/v1/auth/me \
--cookie brokerium_session=<brokerium_session>

Role: viewer.

The authenticated user.

Media typeapplication/json
object
user
required
object
id
required
string
username
required
string
role
required
string
Allowed values: admin operator viewer
disabled
required
boolean
createdAt
required
string format: date-time
updatedAt
required
string format: date-time

Example

{
"user": {
"role": "admin"
}
}

Error.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.