Available in Classic and VPC
Get tenant details.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v1/tenant |
Request headers
For information about the headers common to all Ncloud Single Sign-On APIs, see Ncloud Single Sign-On request headers.
Request example
The request example is as follows:
curl --location --request GET 'https://sso.apigw.ntruss.com/api/v1/tenant' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
tenantId |
String | - | Tenant ID |
tenantAlias |
String | - | Tenant alias |
mbrLoginAllow |
String | - | Whether to allow main account login
|
idleSessionExpDuration |
Integer | - | Session expiration time of logged in external account (second)
|
multipleLoginAllowed |
Boolean | - | Whether to allow duplicate login
|
organizationEnabled |
Boolean | - | Organization integration status
|
organizationEnabledAt |
String | - | Organization integration date and time
|
protocols |
Array | - | Supported protocols |
applicationTypeSupported |
Array | - | Application type |
oauth2 |
Object | - | OAuth 2.0 information |
oauth2.grantTypeSupported |
Array | - | Authorization method
|
oauth2.responseTypeSupported |
Array | - | Response type supported by OAuth 2.0 and OpenID Connect protocols |
oauth2.scopeSupported |
Array | - | Application accessible information range
|
oauth2.clientAuthMethodSupported |
Array | - | Application authentication method
|
oauth2.accessTypeSupported |
Array | - | Application access method
|
isIdpExist |
Boolean | - | Whether to create external IdP
|
createdAt |
String | - | Tenant creation date and time
|
possessionAuthenticationEnabled |
Boolean | - | Whether to apply occupancy authentication
|
possessionAuthenticationTypes |
Array | - | Occupancy authentication method type
|
multiFactorAuthenticationEnabled |
Boolean | - | Whether to apply two-factor authentication
|
Response status codes
For information about the response status codes common to all Ncloud Single Sign-On APIs, see Ncloud Single Sign-On response status codes.
Response example
The response example is as follows:
{
"tenantId": "bc1fb745-****-****-****-9fc9f7c16369",
"tenantAlias": "bc1fb745-****-****-****-9fc9f7c16369",
"mbrLoginAllow": "UNUSED",
"idleSessionExpDuration": 600,
"multipleLoginAllowed": true,
"organizationEnabled": true,
"organizationEnabledAt": "2025-01-21T00:33:55Z",
"protocols": [
"OAUTH2"
],
"applicationTypeSupported": [
"app",
"web"
],
"oauth2": {
"grantTypeSupported": [
"authorization_code",
"implicit",
"refresh_token"
],
"responseTypeSupported": [
"code",
"token",
"id_token"
],
"scopeSupported": [
"profile",
"openid",
"groups",
"email"
],
"clientAuthMethodSupported": [
"client_secret_basic"
],
"accessTypeSupported": [
"confidential"
]
},
"isIdpExist": true,
"createdAt": "2025-01-20T00:33:55Z",
"possessionAuthenticationEnabled": true,
"possessionAuthenticationTypes": [
"SMS"
],
"multiFactorAuthenticationEnabled": true
}