robot

Update a robot account

This endpoint updates specific robot account information by robot ID.

put/robots/{robot_id}

Path parameters

robot_idinteger required

Robot ID

Headers

X-Request-Idstring

An unique ID for the request

Request body

idinteger

The ID of the robot

namestring

The name of the robot

descriptionstring

The description of the robot

secretstring

The secret of the robot

levelstring

The level of the robot, project or system

durationinteger nullable

The duration of the robot in days, duration must be either -1(Never) or a positive integer

editableboolean

The editable status of the robot

disableboolean

The disable status of the robot

expires_atinteger

The expiration date of the robot

creator_typestring

The type of the robot creator, like local(harbor_user) or robot.

creator_refinteger

The reference of the robot creator, like the id of harbor user.

creation_timestring date-time

The creation time of the robot.

update_timestring date-time

The update time of the robot.

Response

Success

Changes

No recorded changes to this endpoint across all 1 revision of this API.