Skip to content

Get the user's runner registration token

Deprecated
GET
/user/actions/runners/registration-token

This operation has been deprecated in Forgejo 15. Use the web UI or /user/actions/runners instead.

RegistrationToken is a string used to register a runner with a server

Media typeapplication/json

RegistrationToken is a string used to register a runner with a server

object
token
string
Examplegenerated
{
"token": "example"
}

APIUnauthorizedError is a unauthorized error response

Media typeapplication/json
object
message
string
url
string
Examplegenerated
{
"message": "example",
"url": "example"
}

APIForbiddenError is a forbidden error response

Media typeapplication/json
object
message
string
url
string
Examplegenerated
{
"message": "example",
"url": "example"
}