---
title: "Update account info"
method: POST
path: "/v2/account"
tags: ["v2"]
---

# Update account info

`POST /v2/account`

Use this method to change the account options. You can enable or disable JS/CSS file minification. You can also enable/disable automatic fetching via HTTP or S3 from a remote location.

## Request body

- Model18
  - `minify` Model17
    - `enabled` boolean, required — Enable or disable automatic minification of JS/CSS files
  - `fetching` Fetching
    - `enabled` boolean, required
    - `type` 'http' | 's3', required
    - `http` Http, required
      - `auth` Auth
        - `enabled` boolean, required
        - `username` string, required
        - `password` string, required
      - `url` string, required
    - `s3` S3, required
      - `endpoint` string
      - `accessKeyId` string, required
      - `secretAccessKey` string, required
      - `bucket` string, required
      - `prefix` string
      - `forcePathStyle` boolean
  - `aliases` object
    - `string` String
      - `cdn` boolean
      - `prefix` string
      - `defaultProfile` string

## Response `default`

Successful

---

[API](https://skmtc.dev/sirv/apis/api-documentation.md) · [All operations](https://skmtc.dev/sirv/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sirv/api-documentation/revisions/80ff016d7d3a/schema)
