Skip to content

Commit b652d10

Browse files
authored
Add warning for deprecated endpoints (#54255)
1 parent a4c1b0f commit b652d10

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

content/rest/copilot/copilot-usage.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: REST API endpoints for GitHub Copilot usage metrics
3-
shortTitle: Copilot usage
3+
shortTitle: Copilot usage
44
intro: 'Use the REST API to access {% data variables.product.prodname_copilot_short %} usage metrics for an enterprise, an organization, or a team.'
55
redirect_from:
66
- /early-access/copilot/copilot-usage-api
@@ -13,4 +13,12 @@ autogenerated: rest
1313
allowTitleToDifferFromFilename: true
1414
---
1515

16+
<!-- expires 2025-03-01 -->
17+
18+
<!-- When this expires, change the message to say they're no longer accessible at all -->
19+
20+
>[!WARNING] These endpoints are closing down. They will be accessible throughout February 2025, but will not return any new data after February 1st. They will be retired on March 1st. **Please migrate to the [AUTOTITLE](/rest/copilot/copilot-metrics) as soon as possible.**
21+
22+
<!-- end expires 2025-03-01 -->
23+
1624
<!-- Content after this section is automatically generated -->

0 commit comments

Comments
 (0)