Skip to content

Commit cee0278

Browse files
authored
Merge pull request #128243 from adriansynal-msft/fix/tpe-rest-api-docs
Fix missing tenantId and api-version in Teams Phone extensibility REST API docs
2 parents c845338 + df58dbd commit cee0278

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

articles/communication-services/quickstarts/tpe/teams-phone-extensiblity-rest-api.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ PUT {endpoint}/access/teamsExtension/tenants/{tenantId}/assignments/{objectId}?a
3535
### Request body
3636

3737
| Name | In | Required | Type | Description |
38-
| --- | --- | --- |
39-
| `request ` | body | true | [TeamsExtensionAssignmentCreateOrUpdateRequest](#teamsextensionassignmentcreateorupdaterequest) | Request for teams account assignment. |
38+
| --- | --- | --- | --- | --- |
39+
| `request` | body | true | [TeamsExtensionAssignmentCreateOrUpdateRequest](#teamsextensionassignmentcreateorupdaterequest) | Request for teams account assignment. |
4040

4141
### Responses
4242

@@ -51,14 +51,16 @@ PUT {endpoint}/access/teamsExtension/tenants/{tenantId}/assignments/{objectId}?a
5151
Get the assignment for a resource access from a Teams user or Teams resource account.
5252

5353
```http
54-
GET {endpoint}/access/teamsExtension/assignments/{objectId}?api-version=2025-06-30
54+
GET {endpoint}/access/teamsExtension/tenants/{tenantId}/assignments/{objectId}?api-version=2025-06-30
5555
```
5656

5757
### URI parameters
5858

5959
| Name | In | Required | Type | Description |
60-
| --- | --- | --- |
60+
| --- | --- | --- | --- | --- |
6161
| `objectId` | path | true | string | Object ID of the principal, that is, the user ID or resource account ID. |
62+
| `tenantId` | path | true | string | Tenant ID of the tenant that the principal belongs to. |
63+
| `api-version` | query | true | string | Version of API to invoke. |
6264

6365
### Responses
6466

@@ -72,14 +74,16 @@ GET {endpoint}/access/teamsExtension/assignments/{objectId}?api-version=2025-06-
7274
Delete the assignment to remove resource access from a Teams user or Teams resource account.
7375

7476
```http
75-
DELETE {endpoint}/access/teamsExtension/assignments/{objectId}?api-version=2025-06-30
77+
DELETE {endpoint}/access/teamsExtension/tenants/{tenantId}/assignments/{objectId}?api-version=2025-06-30
7678
```
7779

7880
### URI parameters
7981

8082
| Name | In | Required | Type | Description |
81-
| --- | --- | --- |
83+
| --- | --- | --- | --- | --- |
8284
| `objectId` | path | true | string | Object ID of the principal, that is, the user ID or resource account ID. |
85+
| `tenantId` | path | true | string | Tenant ID of the tenant that the principal belongs to. |
86+
| `api-version` | query | true | string | Version of API to invoke. |
8387

8488
### Responses
8589

@@ -133,4 +137,4 @@ DELETE {endpoint}/access/teamsExtension/assignments/{objectId}?api-version=2025-
133137
## Related articles
134138

135139
- [Teams Phone extensibility overview](../../concepts/interop/tpe/teams-phone-extensibility-overview.md)
136-
- [Teams Phone System extensibility quick start](./teams-phone-extensibility-quickstart.md)
140+
- [Teams Phone System extensibility quick start](./teams-phone-extensibility-quickstart.md)

0 commit comments

Comments
 (0)