Skip to content

Enterprise level runner-scale-set on Github Enterprise Server #3071

Answered by joshjohanning
1MaxKoval asked this question in FAQs
Discussion options

You must be logged in to vote

@1MaxKoval I think /enterprises/enterprise-name looks right, that's the URL I would expect to us there.

This also matches the API docs: https://docs.github.com/en/[email protected]/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-enterprise

curl http(s)://HOSTNAME/api/v3/enterprises/ENTERPRISE/actions/runners/registration-token

Basically it is just appending /actions/runners/registration-token to the URL, as you can see the same format with an org:

curl http(s)://HOSTNAME/api/v3/orgs/ORG/actions/runners/registration-token

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 1MaxKoval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
None yet
2 participants