AppClient

Modifies an app client's settings by ID

Partially updates app client settings, only updating fields specified in the request body. Any fields omitted in the request body will not be changed from their existing values.

patch/auth/app-clients/{id}/settings

Request

  • Base URL
    https://api.sandbox.zusapi.com
  • URL
    https://api.sandbox.zusapi.com/auth/app-clients/{id}/settings
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

Example request

{
  "data": {
    "attributes": {
      "appLoginURI": "https://example.com",
      "allowedCallbackURLs": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedLogoutURLs": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedWebOrigins": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedOrigins": [
        "https://example1.com",
        "http://localhost:3000"
      ],
      "grantTypes": [
        "implicit",
        "authorization_code",
        "refresh_token"
      ]
    }
  }
}

Response

Success

Example response

{
  "data": {
    "attributes": {
      "appLoginURI": "https://example.com",
      "allowedCallbackURLs": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedLogoutURLs": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedWebOrigins": [
        "https://example.com",
        "http://localhost:3000"
      ],
      "allowedOrigins": [
        "https://example1.com",
        "http://localhost:3000"
      ],
      "grantTypes": [
        "implicit",
        "authorization_code",
        "refresh_token"
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.