Acknowledge that a host's principal files were installed (fleet token; sha256 must match the current render)
POST
/external/ssh/hosts/{fqdn}/principals-pushed
const url = 'https://pki.example.com/api/v1/external/ssh/hosts/example/principals-pushed';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"sha256":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://pki.example.com/api/v1/external/ssh/hosts/example/principals-pushed \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "sha256": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”fqdn
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
sha256
required
string
key
additional properties
any
Example generated
{ "sha256": "example"}Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
key
additional properties
any
Example generated
{}