Back to GithubRemove all custom labels from a self-hosted runner for a repository
Remove all custom labels from a self-hosted runner configured in a
repository. Returns the remaining read-only labels from the runner.
You must authenticate using an access token with the repo
scope to use this
endpoint.
Input
type: object
properties:
parameters:
type: object
properties:
owner:
type: string
description: The account owner of the repository. The name is not case sensitive.
repo:
type: string
description: The name of the repository. The name is not case sensitive.
runner_id:
type: integer
description: Unique identifier of the self-hosted runner.
required:
- owner
- repo
- runner_id
title: Parameters
Output
type: object
properties:
total_count:
type: integer
labels:
type: array
items:
type: object
title: Self hosted runner label
properties:
id:
type: integer
description: Unique identifier of the label.
name:
type: string
description: Name of the label.
type:
type: string
description: >-
The type of label. Read-only labels are applied automatically when
the runner is configured.
enum:
- read-only
- custom