Skip to main content

Edit a resource server

PUT 

/v2/modules/:module/setups/:setupId/resource-servers/:resourceId

Updates the configuration of an existing resource server, including its declared scopes. The full resource server definition must be provided. Changes can be scheduled to take effect at a future date by supplying a validFrom timestamp in the request body, which creates a new snapshot.

Request

Path Parameters

    module stringrequired
    setupId stringrequired
    resourceId stringrequired

Query Parameters

    replaceActiveState boolean

Body

    scopes object[]required
  • Array [
  • metadata object[]
  • Array [
  • name string
    value string
    locale string
  • ]
  • name string
    policy_implicit_flow string
    policy_authorization_code_flow string
    policy_refresh_token string
    policy_force_reauthentication boolean
    custom_claims string
  • ]
  • metadata object[]
  • Array [
  • name string
    value string
    locale string
  • ]
  • name string
    owner string
    comment string
    uri uri
    valid_from date-time

Responses

Resource server successfully edited

Schema
    scopes object[]required
  • Array [
  • metadata object[]
  • Array [
  • name string
    value string
    locale string
  • ]
  • name string
    policy_implicit_flow string
    policy_authorization_code_flow string
    policy_refresh_token string
    policy_force_reauthentication boolean
    custom_claims string
  • ]
  • metadata object[]
  • Array [
  • name string
    value string
    locale string
  • ]
  • name string
    owner string
    comment string
    uri uri
    valid_from date-time
Loading...