Create a runner controller token
POST
/api/v4/runner_controllers/{runner_controller_id}/tokens
Creates a runner controller token.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” runner_controller_id
required
integer
ID of the runner controller
Request Body
Section titled “ Request Body ” Media type application/json
object
description
Description of the runner controller token
string
Example
Token for managing runnerResponses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
runner_controller_id
integer format: int64
description
string
last_used_at
string format: date-time
created_at
string format: date-time
updated_at
string format: date-time
Example
{ "id": 1, "runner_controller_id": 1, "description": "Controller for managing runner"}Bad Request
Forbidden
Not found