Get team profile
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/profile';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/team/profile \ --header 'Authorization: <Authorization>'Returns the authenticated team’s display name, URL slug, and whether the slug was ever deliberately chosen. slug_chosen_at is absent while the slug is still the one auto-picked at signup, which is what drives the “name your team” nudge in settings.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
DefaultPreviewAccess is the preview access level (public, team or team_guests) new projects of the team start at (DEP-468). team_guests starts a new project at team, since it has no guest password yet.
DisplayLabel is what to show a human. Never empty, even for the teams whose name is still a Zitadel org UUID.
SlugChosenAt is nil while the slug is still the one we auto-picked. That nil is what drives the settings nudge, so it is part of the response, not an internal detail.
Example
{ "data": { "default_preview_access": "team" }}Unauthorized
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Not Found
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live 022265e7 built