lib/oci/identity/identity_client.rb
# Resets the OAuth2 client credentials for the SCIM client associated with this identity provider.
#
# @param [String] identity_provider_id The OCID of the identity provider.
# @param [Hash] opts the optional parameters
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
#   retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
# @return [Response] A Response object with data of type {OCI::Identity::Models::ScimClientCredentials ScimClientCredentials}
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/identity/reset_idp_scim_client.rb.html) to see an example of how to use reset_idp_scim_client API.
Resets the OAuth2 client credentials for the SCIM client associated with this identity provider.
Resets the OAuth2 client credentials for the SCIM client associated with this identity provider .
def reset_idp_scim_client(identity_provider_id, opts = {})
      logger.debug 'Calling operation IdentityClient#reset_idp_scim_client.' if logger
      raise "Missing the required parameter 'identity_provider_id' when calling reset_idp_scim_client." if identity_provider_id.nil?
      raise "Parameter value for 'identity_provider_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_provider_id)
      path = '/identityProviders/{identityProviderId}/actions/resetScimClient/'.sub('{identityProviderId}', identity_provider_id.to_s)
      operation_signing_strategy = :standard
      query_params = {}
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      post_body = nil
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#reset_idp_scim_client') do
        @api_client.call_api(
          :POST,
          path,
          endpoint,
          header_params: header_params,
          query_params: query_params,
          operation_signing_strategy: operation_signing_strategy,
          body: post_body,
          return_type: 'OCI::Identity::Models::ScimClientCredentials'
        )
      end
    end
def reset_idp_scim_client ( identity_provider_id , opts = { } ) logger . debug 'Calling operation IdentityClient#reset_idp_scim_client.' if logger raise "Missing the required parameter 'identity_provider_id' when calling reset_idp_scim_client." if identity_provider_id . nil? raise "Parameter value for 'identity_provider_id' must not be blank" if OCI :: Internal :: Util . blank_string? ( identity_provider_id ) path = '/identityProviders/{identityProviderId}/actions/resetScimClient/' . sub ( '{identityProviderId}' , identity_provider_id . to_s ) operation_signing_strategy = :standard query_params = { } header_params = { } header_params [ :accept ] = 'application/json' header_params [ :' content-type ' ] = 'application/json' post_body = nil OCI :: Retry . make_retrying_call ( applicable_retry_config ( opts ) , call_name : 'IdentityClient#reset_idp_scim_client' ) do @api_client . call_api ( :POST , path , endpoint , header_params : header_params , query_params : query_params , operation_signing_strategy : operation_signing_strategy , body : post_body , return_type : 'OCI::Identity::Models::ScimClientCredentials' ) end end
Resets the OAuth2 client credentials for the SCIM client associated with this identity provider.
Resets the OAuth2 client credentials for the SCIM client associated with this identity provider .
# rubocop:disable Style/NegatedIf # Query Params # Header Params # rubocop:enable Style/NegatedIf # rubocop:disable Metrics/BlockLength # rubocop:enable Metrics/BlockLength
A Response object with data of type {OCI::Identity::Models::ScimClientCredentials ScimClientCredentials}
A Response object with data of type { OCI :: Identity :: Models :: ScimClientCredentials ScimClientCredentials }
Response
identity_provider_id
<not_specific>
opts
:retry_config The retry configuration to apply to this operation. If no key is provided then the service-level retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
: retry_config The retry configuration to apply to this operation . If no key is provided then the service - level retry configuration defined by { #retry_config } will be used . If an explicit ` nil ` value is provided then the operation will not retry
<not_specific>
opts the optional parameters
opts the optional parameters
note
Click [here] to see an example of how to use reset_idp_scim_client API.
Click [ here ] to see an example of how to use reset_idp_scim_client API .