Updates a single OauthServerClient

PUT /api/opendata/oauth/server_clients/{identifier}

Path parameters

  • identifier string Required

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • data object
    Hide data attributes Show data attributes object
    • name string
    • scopes string
    • redirect_uri string
    • active boolean
    • allow_plain_text_pkce boolean
    • confidential boolean

Responses

  • 200 application/json

    Updates a single OauthServerClient

    Hide response attributes Show response attributes object
    • identifier string
    • name string
    • scopes string
    • redirect_uri string
    • image_url string
PUT /api/opendata/oauth/server_clients/{identifier}
curl \
 --request PUT 'https://replace-with-own-host.iw-erp.de/api/opendata/oauth/server_clients/{identifier}' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"name":"string","scopes":"string","redirect_uri":"string","active":true,"allow_plain_text_pkce":true,"confidential":true}}'
Request examples
{
  "data": {
    "name": "string",
    "scopes": "string",
    "redirect_uri": "string",
    "active": true,
    "allow_plain_text_pkce": true,
    "confidential": true
  }
}
Response examples (200)
{
  "identifier": "string",
  "name": "string",
  "scopes": "string",
  "redirect_uri": "string",
  "image_url": "string"
}