GET/v1/team/self

Get the authenticated user's team

Retrieves the team associated with the authenticated user's API key. Use this endpoint to inspect the team's name, UUID, permissions, and associated users.

4 status codes
200Returns the team object, including its name, UUID, permissions, and associated LDAP, managed, and OIDC users.
namestringoptional
permissionsarray<object>optional
uuidstringoptional
400Returned when the supplied API key is invalid.
401Returned when the request is unauthorized.
404Returned when no team is associated with the supplied API key.

Error handling

A 400 is returned when the supplied API key is invalid. A 401 indicates an unauthorized request, and a 404 is returned when no team is associated with the API key.