Skip to main content

Create resource server for a setup

POST 

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

Registers a new resource server within the specified setup. The request body must include the resource server's identifier and its list of declared OAuth scopes. On success, returns the newly created resource server's identifier.

Request

Path Parameters

    module stringrequired
    setupId stringrequired

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 created

Schema
    resourceServerId string
Loading...