Edit Application settings via API

Overview

This article provides steps to programmatically edit Application Settings, such as callback Uniform Resource Locators (URLs) and Allowed Web Origins, using the Management Application Programming Interface (API) or other available APIs.

Applies To

  • Management API
  • Application Settings

Solution

Application settings can be updated programmatically via the Management API using the Update a client endpoint:  

PATCH /api/v2/clients/<id>



The following is an example of the type of payload that can be sent using this endpoint:

{
  "name": "test-app-6",
  "callbacks": [
    "https://jwt.io"
  ],
    "web_origins": [
     "https://google.com"
  ],
  "allowed_origins": [
    "https://yahoo.com"
  ],
  
  "allowed_logout_urls": [
    "https://jwt.io"
  ] 
}

Recommended content

No recommended content found...