--- title: "Get Bucket CORS" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/get-bucket-cors/ description: "This page describes the method to execute circuits in your application with sample code snippets." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Stratus Help Documentation" url: /en/cloud-scale/help/stratus/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/cloud-scale/stratus/get-bucket-cors/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/cloud-scale/stratus/get-bucket-cors/ - name: "iOS SDK Documentation" url: /en/sdk/ios/v2/cloud-scale/stratus/overview/ - name: "Android SDK Documentation" url: /en/sdk/android/v2/cloud-scale/stratus/overview/ - name: "Flutter SDK Documentation" url: /en/sdk/flutter/v2/cloud-scale/stratus/overview/ - name: "REST API Documentation" url: /en/api/code-reference/cloud-scale/stratus/get-bucket/#GetSpecificBucket repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Get Bucket CORS > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/overview/#prerequisites) to use this SDK method. The `getCors()` SDK method will return the current CORS configuration of a specific bucket in Stratus. The bucket reference used in the following code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/stratus/create-bucket-instance/). CORS of a bucket can be edited by any user that has or has been granted Write permission for Stratus component in the project, using the [Profiles & Permissions](https://docs.catalyst.zoho.com/en/getting-started/set-up-a-catalyst-project/profiles-and-permissions/) section. > **Info:** [Learn more about Bucket CORS](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/stratus-config/bucket-cors/) ```javascript const cors = await bucket.getCors(); console.log(cors); ``` ### Example of Expected Response ```javascript { domain: 'https://zylkereclassifieds-779513891.development.catalystserverless.com', allowed_methods: [ 'HEAD', 'DELETE', 'POST', 'GET', 'PUT' ] } ```