YouTrack Standalone 2017.2 Help

Set up Email Notification Service

POST /admin/setup/email

Setup email notification settings

POST /rest/admin/setup/email

Samples

Sample 1

Request

POST https://example.com/youtrack/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 0

Sample 2

Request

POST https://example.com/youtrack/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 400 Bad Request Expires: Tue, 18 May 2010 01:34:03 GMT Content-Type: text/html;charset=UTF-8 Cache-Control: no-store, no-cache, must-revalidate Cache-Control: post-check=0, pre-check=0 Pragma: no-cache Content-Length: 6993

Sample 3

Request

POST https://example.com/youtrack/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 0
Last modified: 7 March 2019