Skip to main content
POST
Mint or rotate the application's registry robot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

application_id
string
required

Body

application/json
rotate
boolean
default:false

Refresh the robot's secret even when one already backs the application; the previous secret stops working immediately.

Response

Successful Response

changed
boolean
required

A robot was minted, rotated or revoked in this call.

message
string
required
needs_app_admin
boolean
required

GitHub refused the secrets write because the Ankra GitHub App lacks the Secrets permission.

robot
ApplicationRegistryRobot · object
required
secrets_written
boolean
required

The repository's Actions secrets now carry the robot login.