diff --git a/.github/workflows/google.yml b/.github/workflows/google.yml index 7b3e4e0..05422b6 100644 --- a/.github/workflows/google.yml +++ b/.github/workflows/google.yml @@ -38,9 +38,15 @@ jobs: --header "Authorization: Bearer $(gcloud auth print-access-token)" \ | jq -r '.users[].id' + # https://developers.google.com/admin-sdk/directory/reference/rest/v1/roleAssignments/list curl --fail --silent \ https://admin.googleapis.com/admin/directory/v1/customer/${CUSTOMER}/roleassignments \ --header "Authorization: Bearer $(gcloud auth print-access-token)" | jq -r . + # https://developers.google.com/admin-sdk/directory/reference/rest/v1/roles/list + curl --fail --silent \ + https://admin.googleapis.com/admin/directory/v1/customer/${CUSTOMER}/roles \ + --header "Authorization: Bearer $(gcloud auth print-access-token)" | jq -r . + env: CUSTOMER: C01jv3tsi