Repository session

/repositories/(targetid)/session

Allows login and logout of external repository connections.

Methods

POST

Logs into the specified external repository connection using the provided authentication data.

Input: RepositoryAuthentication
Output: RepositoryAuthenticationStatus

DELETE

Logs out from specified external repository connection.

Note that PUT and DELETE verbs may not be supported in IIS; it is recommended to route them via the POST verb and specify the _method querystring parameter, as detailed in the compatibility page.