You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


TeamCity REST can be configured to allow cross-origin requests using the rest.cors.origins internal property.


To allow requests from a page loaded from a specific domain:

  • Add the page address (including the protocol and port , do not use wildcards)  to the comma-separated internal property rest.cors.origins, e.g. 



To enable support for a preflight OPTIONS request: