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

### パラメータ

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

<ParamField body="name" type="string" placeholder="database name">
  データベースの名前。1〜32 文字（英字、数字、アンダースコア（`_`）、ハイフン（`-`）、スペース）で、少なくとも 1 つの英字、数字、またはアンダースコアを含む必要があります。
</ParamField>

<ParamField body="ram" type="int" placeholder="RAM(in MB)">
  割り当てる RAM の量（メガバイト単位）。最小値: Redis 512 MB、MongoDB および PostgreSQL 1024 MB。
</ParamField>

### レスポンス

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

<ResponseExample>
  ```json theme={null}
  {
    "status":"success"
  }
  ```
</ResponseExample>
