Enrol or replace the caller's signing PIN
POST
/api/v1/signing-credentials
const url = 'https://app.avera.io/api/v1/signing-credentials';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"pin":"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://app.avera.io/api/v1/signing-credentials \ --header 'Content-Type: application/json' \ --data '{ "pin": "example" }'The signing PIN is bound to the user, not to a tenant: one enrolment covers every tenant the user participates in, with the PIN policy taken from the enrolling tenant. On first enrolment the internal CA issues the user’s X.509 signing certificate; re-enrolment reuses it. Historic signatures stay valid, because verification consults the credential that existed at signing time.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
pin
required
string
Example generated
{ "pin": "example"}Responses
Section titled “Responses”OK
Media type*/*
object
enrolled
required
boolean
certificateId
required
string
certificateSubjectDn
required
string