Get team profile by id or slug
const url = 'https://api.deploybase.eu/api/v1/api/v1/teams/example/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/teams/example/profile \ --header 'Authorization: <Authorization>'Identical to GET /api/v1/team/profile, addressed by the team’s UUID or URL slug. The path team must be a team you are a member of; any other team is 403 (a team that does not exist at all is 404). A slug the team has renamed away from still resolves for 30 days: the response is the same 200, plus a Deprecation: true header and a Link: <...>; rel="canonical" header pointing at the current slug, so a client can learn the new name and update its bookmark.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Team UUID or slug
Responses
Section titled “ Responses ”OK
object
object
object
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 generated
{ "data": { "display_label": "example", "id": "example", "name": "example", "slug": "example", "slug_chosen_at": "example" }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Headers
Section titled “ Headers ”True, when the request used a retired slug
Canonical URL of this resource under the team’s current slug
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" }}