# Rest Cors Settings

This resource lets you work with the Resource Sharing settings of your YouTrack service.
|  Resource  |     ```GENERIC /api/admin/globalSettings/restSettings ```    |
| --- | --- |
|  Returned entity  |  [RestCorsSettings](api-entity-RestCorsSettings.html). For the description of the entity attributes, see [Supported Fields](#RestCorsSettings-supported-fields) section.  |

## RestCorsSettings attributes

Represents the Resource Sharing (CORS) configuration of the service.

### Related Resources

Below you can find the list of resources that let you work with this entity.

* [Rest CORS Settings]()

### Attributes

This table describes attributes of the `RestCorsSettings` entity.

* To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.

* To update an attribute, provide it in the body of a POST request.

|  Field  |  Type  |  Description  |
| --- | --- | --- |
|  id  |  String  |  The ID of the RestCorsSettings. `Read-only`.  |
|  allowedOrigins  |  Array of Strings  |  Origins that are allowed for cross-origin requests.  |
|  allowAllOrigins  |  Boolean  |  Indicates whether requests from all origins are allowed.  |

