Update team profile
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/profile';const options = { method: 'PATCH', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"name":"example","slug":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.deploybase.eu/api/v1/api/v1/team/profile \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "slug": "example" }'Updates the team’s display name and/or URL slug. Owner only. Saving a slug — including re-saving the one the team already has — records that the owner chose it and dismisses the naming nudge. Changing it leaves a redirect behind: the old slug keeps resolving for 30 days and only this team may reclaim it during that window.
Authorizations
Section titled “ Authorizations ”Request Body
Section titled “ Request Body ”Fields to change; omit a field to leave it alone
object
Example generated
{ "name": "example", "slug": "example"}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" }}Bad Request
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}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" }}SLUG_TAKEN, with details.suggestions
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}INVALID_INPUT or SLUG_RESERVED, with details.field
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}