Skip to content

Commit

Permalink
Adding ghe-manage-v1-check-a-license.sh for #178
Browse files Browse the repository at this point in the history
  • Loading branch information
gm3dmo committed Nov 15, 2024
1 parent dd53d51 commit 3a1d798
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ghe-manage-v1-check-a-license.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
. ./.gh-api-examples.conf

# https://docs.github.com/en/enterprise-server/rest/enterprise-admin/manage-ghes?apiVersion=2022-11-28#check-a-license
# GET /manage/v1/config/license/check


curl -L ${curl_custom_flags} \
-u "api_key:${mgmt_password}" \
"https://${hostname}:${mgmt_port}/manage/v1/config/license/check"

0 comments on commit 3a1d798

Please sign in to comment.