> ## 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.

# 認証情報のリセット

> Square Cloud 上でホストされているデータベースの証明書またはパスワードをリセットします。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  アカウントの API キーです。これは[アカウント設定](https://squarecloud.app/ja/account/security)で確認できます。
</ParamField>

### Parameters

<ParamField path="database_id" type="string" placeholder="Database ID" required>
  データベースのIDです。
</ParamField>

<ParamField body="reset" type="string" placeholder="password/certificate" required>
  リセットしたい認証情報です。password または certificate。
</ParamField>

### Response

<ResponseField name="status" type="string">
  呼び出しが成功したかどうかを示します。成功した場合は `success`、失敗した場合は `error` です。
</ResponseField>

#### パスワードのリセットの場合

<ResponseField name="response" type="object">
  レスポンスの内容です。

  <Expandable title="Toggle object">
    <ResponseField name="password" type="string">
      新しく生成されたパスワードです。
    </ResponseField>
  </Expandable>
</ResponseField>

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