Skip to content

Files

Latest commit

 

History

History
44 lines (32 loc) · 1011 Bytes

api-robot-regenerateUserRobotToken.adoc

File metadata and controls

44 lines (32 loc) · 1011 Bytes

regenerateUserRobotToken

POST /api/v1/user/robots/{robot_shortname}/regenerate

Authorizations: oauth2_implicit (user:admin)

Path parameters

Type Name Description Schema

path

robot_shortname
required

The short name for the robot, without any user or organization prefix

string

Responses

HTTP Code Description Schema

201

Successful creation

400

Bad Request

401

Session required

403

Unauthorized access

404

Not found

Example command

$ curl -X POST \
  -H "Authorization: Bearer <bearer_token>" \
  "<quay-server.example.com>/api/v1/user/robots/<robot_shortname>/regenerate"