Skip to content
On this page

Update OAuth Application

🔑 Need JWT Authorization

Description

Update oauth application

Method And Path

js
POST /v2/developer/oauth/update

Request

ts
{
    "authorization": string;
    "x-request-id": string;
    "x-session-id": string;
}

Body

ts
{
    "oauthUUID": string;
    "appName"?: string;
    "appDesc"?: string;
    "homepageURL?": string;
    "callbacksURL"?: string[];
    "scopes"?: DeveloperOAuthScope[];
}

Extends Type: DeveloperOAuthScope

oauthUUID

OAuth application uuid

appName

Application name

  • minLength: 1
  • maxLength: 20

appDesc

Application Description

  • minLength: 1
  • maxLength: 300

homepageURL

Application Homepage URL

  • minLength: 1
  • maxLength: 100
  • format: https

callbacksURL

Application Callback URL

  • minItems: 1
  • maxItems: 5
  • format: https

scopes

Application Permission Scopes

Response

Success

HTTP Status Code: 200

ts
{
    status: Status.Success,
    data: {}
}

Extends Type: Status

Failed

HTTP Status Code: 200

ts
{
    status: Status.Failed,
    code: ErrorCode
}

Extends Type: Status, ErrorCode

Released under the MIT License.