ci_runners

Create a runner

Creates a runner.

post/api/v4/runners

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

tokenstring required

Registration token

descriptionstring

Description of the runner

maintainer_notestring

Deprecated: see maintenance_note

maintenance_notestring

Free-form maintenance notes for the runner (1024 characters)

activeboolean

Deprecated: Use paused instead. Specifies if the runner is allowed to receive new jobs

pausedboolean

Specifies if the runner should ignore new jobs

lockedboolean

Specifies if the runner should be locked for the current project

access_level'not_protected' | 'ref_protected'

The access level of the runner

run_untaggedboolean

Specifies if the runner should handle untagged jobs

tag_liststring[]

A list of runner tags

maximum_timeoutinteger

Maximum timeout that limits the amount of time (in seconds) that runners can run jobs

Response

Create a runner

idstring required
tokenstring required
token_expires_atstring required

Changes

No recorded changes to this operation across all 5 revisions of this API.