Rotate a runner controller token
POST
/api/v4/runner_controllers/{runner_controller_id}/tokens/{id}/rotate
Rotates an existing 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
id
required
integer
ID of the runner controller token
Responses
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
token
string
Example
{ "id": 1, "runner_controller_id": 1, "description": "Controller for managing runner"}Bad Request
Forbidden
Not found