App Auth Strategies

Replace App Auth Strategy

Replaces an application auth strategy.

put/v2/application-auth-strategies/{authStrategyId}

Request body

OR

Example request

{
  "labels": {
    "env": "test"
  }
}

Response

A response containing the newly created application auth strategy object.

OR

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "dcr_provider": {
    "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
  },
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

Changed in 9 of the 75 revisions of this API.1128

  • 7d3c634668f812See the full diff
    • removed the success response with the status 201

      response-success-status-removed

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the success response with the status 200

      response-success-status-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property oneOf[subschema #1: AppAuthStrategyKeyAuthRequest]/principals

      new-optional-request-property

    • added the new optional request property oneOf[subschema #2: AppAuthStrategyOpenIDConnectRequest]/principals

      new-optional-request-property

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property oneOf[subschema #1: AppAuthStrategyKeyAuthRequest]/configs/key-auth/ttl

      new-optional-request-property

    • the request property oneOf[subschema #1: AppAuthStrategyKeyAuthRequest]/configs/key-auth/key_names became not nullable

      request-property-became-not-nullable

    • added the new type enum value to the allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/rule response property for the response status 400

      response-property-enum-value-added

  • 3c0154b2053a91See the full diff
    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/source became nullable for the status 400

      response-property-became-nullable

    • the response property detail became nullable for the status 401

      response-property-became-nullable

    • the response property instance became nullable for the status 401

      response-property-became-nullable

    • the response property status became nullable for the status 401

      response-property-became-nullable

    • the response property title became nullable for the status 401

      response-property-became-nullable

    • the request property oneOf[subschema #1: AppAuthStrategyKeyAuthRequest]/configs/key-auth/key_names became nullable

      request-property-became-nullable

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property oneOf[subschema #2: AppAuthStrategyOpenIDConnectRequest]/configs/openid-connect/labels

      request-property-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added key_auth openid_connect mapping keys to the request discriminator

      request-body-discriminator-mapping-added

    • endpoint added

      endpoint-added