Last updated: 12/5/2024 11:19:09 AM
![]() |
NoteBusiness role: Distributor (T1) and ISP (T1)
|
This API is used to generate new credentials for a specific partner company, including
both an access token and a secret key, which are defined as follows:
-
Access token: An access token represents a valid partner of Trend Micro. In order to verify the origin of API requests, each API request must contain an access token in the header.
-
Secret key: A secret key is used to generate a signature for LMPI authentication. For more information, see Invoking LMPI.
Request
HTTP Request
[POST] /LMPI/v2/partners/credentials
Parameters
Request Body
{ "tenant_id":"Yzzts" }
Name
|
Type
|
Description
|
Validation
|
||
Required Parameters
|
|||||
tenant_id
|
string
|
The unique tenant identifier of the partner that you want to generate credentials
for.
|
Valid tenant ID
|
Response
Response
If successful, this method returns an HTTP 200 OK status code and a response body
with the following structure:
{ "tenant_id":"Yzzts", "accesstoken":"94ff823c-d3b1-4ef8-911e-c99398fdf798", "secret_key":"IyNDBEnKBeZc0tduDlwhUgkZKBvqSUm7fO9ijOYL0yU=" }
Name
|
Type
|
Description
|
Length
|
||
tenant_id
|
string
|
The tenant ID that the generated credentials belong to.
|
4-6 characters
|
||
access_token
|
string
|
The unique identifier of the partner company for LMPI authentication.
|
GUID format
|
||
secret_key
|
string
|
The secret key used for LMPI authentication.
|
10-100 characters
|