Reset a user's signing PIN as a tenant administrator
POST
/api/v1/tenants/{tenantId}/users/{userId}/signing-credentials/reset
const url = 'https://app.avera.io/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/signing-credentials/reset';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"reason":"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/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/signing-credentials/reset \ --header 'Content-Type: application/json' \ --data '{ "reason": "example" }'Admin-attended by design: self-service reset does not exist. The target must hold an active participation in the caller’s tenant, and because the PIN is user-bound the reset deactivates it globally until the user re-enrols. Historic signatures remain valid. Idempotent: a target with no active credential answers deactivated=false.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenantId
required
string format: uuid
userId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
Example generated
{ "reason": "example"}Responses
Section titled “Responses”OK
Media type*/*
object
targetUserId
required
string format: uuid
deactivated
required
boolean