Create application
- Print
- PDF
Create application
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Create an application.
Requests
- POST /applications
Request bodies
{
"name" : "string",
"applicationType" : "string",
"applicationUrl" : "string",
"description" : "string",
"mbrLoginAllow" : "string",
"protocol" : "string",
"redirectUris" : ["string"],
"clientAuthMethod" : "string",
"accessType" : "string",
"grantTypes" : ["string"],
"scopes" : ["string"],
"accessTokenValidity" : "string",
"refreshTokenValidity" : "string",
"consentPage" : {
"applicationName" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
},
"useLanguages" : ["string"],
"defaultLanguage" : "string",
"usePurposeDesc" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
},
"usePeriodDesc" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
},
"dataTransferAbroad" : "boolean",
"dataTransferCountry" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
},
"dataRecipients" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
},
"dataRecipientsContact" : {
"ko" : "string",
"en" : "string",
"ja" : "string"
}
}
}
Parameter | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
name | Y | String | application name | |
applicationType | N | String | application Type : app, web (default: web) | |
applicationUrl | N | String | application Url | |
description | N | String | application description | |
mbrLoginAllow | Y | String | Whether you can log in to the main account: ALLOW, DENY | |
protocol | Y | String | Application's protocol: OAUTH2 | |
redirectUris | Y | Array | [Oauth2] redirect Uri list | |
clientAuthMethod | Y | String | [Oauth2] auth method : client_secret_basic, client_secret_post, none | |
grantTypes | Y | Array | [Oauth2] grant type list: authorization_code, refresh_token, implicit | |
accessType | Y | String | [Oauth2] access type : confidential, public | |
scopes | Y | Array | [Oauth2] scope list: profile, openid, groups | |
accessTokenValidity | N | Number | [Oauth2] access token expiration time (default: 43200) | |
refreshTokenValidity | N | Number | [Oauth2] refresh token expiration time (default: 2592000) | |
consentPage.applicationName | Y | Object | [ConsentPage] Recipient | |
consentPage.useLanguages | Y | Array | [ConsentPage] Available languages: ko, en, ja | |
consentPage.defaultLanguage | Y | String | [ConsentPage] Default language | |
consentPage.usePurposeDesc | Y | Object | [ConsentPage] Purpose of use | |
consentPage.usePeriodDesc | Y | Object | [ConsentPage] Period of use | |
consentPage.dataTransferAbroad | Y | Boolean | [ConsentPage] Overseas relocation status: true, false | |
consentPage.dataTransferCountry | N | Object | [ConsentPage] Country of overseas relocation | Required input when overseas relocation is true |
consentPage.dataRecipients | N | Object | [ConsentPage] Previous recipient | Required input when overseas relocation is true |
consentPage.dataRecipientsContact | N | Object | [ConsentPage] Previous recipient contact | Required input when overseas relocation is true |
Responses
Response bodies
{
"applicationId" : "String",
"oauth2" : {
"clientId" : "String",
"clientSecret" : "String"
}
}
Parameter | Type | Description | Restrictions |
---|---|---|---|
applicationId | String | application id | |
oauth2.clientId | String | Created oauth client id | |
oauth2.secret | String | Created oauth client secret |
Error
Errors that may occur while using this action are listed below. For error response format, refer to ErrorResponse. For more information about common errors, refer to the NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 400 | Invalid request |
400 | 9016 | application does not exist |
Was this article helpful?