Get account info

GET /v2/account
api

Description

Use this API method to get information about the account, including its CDN URL; account name; additional domains; remote fetching status; date created and more.

CORS

Origin
maxAge
86400
headers
  • Accept
  • Authorization
  • Content-Type
  • If-None-Match
additionalHeaders
  • Content-Length
  • User-Agent
exposedHeaders
  • *
Credentials
false
Override
  • Request Parameters

    Query Parameters

    Denied

    Response Parameters

    •  
      {
      • dateCreated
        date
      • alias
        string
      • isPartner
        boolean
      • fileSizeLimit
        number
      • customRedirectUrl
        string
      • cdnURL
        string
      • cdnTempURL
        string
      • fetching
        {
          }
        • minify
          {
            }
          • aliases
            {
              }
            }

        Update account info

        POST /v2/account
        api

        Description

        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.

        CORS

        Origin
        maxAge
        86400
        headers
        • Accept
        • Authorization
        • Content-Type
        • If-None-Match
        additionalHeaders
        • Content-Length
        • User-Agent
        exposedHeaders
        • *
        Credentials
        false
        Override
        • Request Parameters

          Query Parameters

          Denied

          Payload Parameters

          •  
            {
            • minify
              {
              • boolean required

                Enable or disable automatic minification of JS/CSS files

              }
            • fetching
              {
              • enabled
                boolean required
              • type
                Any of (
                • If enabled matches the following model :
                  • boolean
                    true required
                  Then :
                  • string
                      required
                  Otherwise :
                )
              • http
                Any of (
                • If type matches the following model :
                  • string
                    "http" required
                  Then :
                  • object
                      required
                    {
                    • auth
                      {
                      • enabled
                        boolean required
                      • username
                        Any of (
                        • If enabled matches the following model :
                          • boolean
                            true required
                          Then :
                          • string
                              required
                          Otherwise :
                        )
                      • password
                        Any of (
                        • If enabled matches the following model :
                          • boolean
                            true required
                          Then :
                          • string
                              required
                          Otherwise :
                        )
                      }
                    • string required
                      Uri
                    }
                  Otherwise :
                )
              • s3
                Any of (
                • If type matches the following model :
                  • string
                    "s3" required
                  Then :
                  • object
                      required
                    {
                    • endpoint
                      string
                    • accessKeyId
                      string required
                    • secretAccessKey
                      string required
                    • bucket
                      string required
                    • prefix
                      string
                    • forcePathStyle
                      boolean
                    }
                  Otherwise :
                )
              }
            • aliases
              {
              • {
                • cdn
                  boolean
                • prefix
                  string
                • defaultProfile
                  string
                }
              }
            }

        Looking for file management?

        The S3 API let's you upload / download / query / delete / modify / move files.

        S3 API documentation

        Need Help?