# Deep Security Manager REST API

## Path: / rest / authentication / login / primary

Authenticate a primary tenant user, and return a session ID (sID) to use in subsequent calls to other APIs.

Note: if your application uses both the SOAP web services API and the REST API, the same session ID can be used in both APIs; you do not need to log in separately to each API.

Method Summary
Resource | Description
--- | ---
`POST /rest/authentication/login/primary` | Authenticate a primary tenant user, and return a session ID (sID) to use in subsequent calls to other APIs.

Method Detail
Authenticate a primary tenant user, and return a session ID (sID) to use in subsequent calls to other APIs. Note: if your application uses both the SOAP web services API and the REST API, the same session ID can be used in both APIs; you do not need to log in separately to each API. Input: `DSCredentials` - The credentials to use to authenticate. Output: `java.lang.String` - session ID the session ID value to pass to subsequent API methods that look for a session ID. Produces: text/plain Consumes: application/xml application/json

Copyright © 2017 Trend Micro Inc. All Rights Reserved.