> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Reimposta Credenziali

> Reimposta il certificato o la password di un database ospitato su Square Cloud.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  La chiave API del tuo account. Puoi trovarla nelle [impostazioni del tuo account](https://squarecloud.app/it/account/security).
</ParamField>

### Parametri

<ParamField path="database_id" type="string" placeholder="Database ID" required>
  L'ID del database.
</ParamField>

<ParamField body="reset" type="string" placeholder="password/certificate" required>
  La credenziale che vuoi reimpostare, password o certificato.
</ParamField>

### Risposta

<ResponseField name="status" type="string">
  Indica se la chiamata è andata a buon fine. `success` in caso di successo, `error` in caso contrario.
</ResponseField>

#### Se si tratta di un reset della password

<ResponseField name="response" type="object">
  Il contenuto della risposta.

  <Expandable title="Mostra oggetto">
    <ResponseField name="password" type="string">
      La nuova password generata.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "status":"success",
    "response":{
      "password":"f3T1hdskMkchMwK6Hxqinoyb"
    }
  }
  ```
</ResponseExample>
