Rename a workspace
AI translated from the German original
Change the name of a workspace.
PATCH https://sml-api.io/teams/{teamId}/nameChanges the name of the Microsoft 365 group and the associated SharePoint site, e.g. when a project name changes.
Parameters
Section titled “Parameters”| Field | Type | Description |
|---|---|---|
| teamId | Path | ID of the workspace |
| name | Body | New name |
Request
Section titled “Request”curl -X PATCH https://sml-api.io/teams/{teamId}/name \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "260215.001 - Project Atlas North"}'$body = @{ name = '260215.001 - Project Atlas North' } | ConvertTo-Json
Invoke-RestMethod -Method Patch -Uri "https://sml-api.io/teams/$teamId/name" -Headers $headers ` -ContentType 'application/json; charset=utf-8' -Body $bodyvar res = await http.PatchAsJsonAsync($"/teams/{teamId}/name", new { name = "260215.001 - Project Atlas North" });Response
Section titled “Response”HTTP/1.1 204 No ContentThe response has no content. The new name is set.