deleteInlineHook(inlineHookId) {
    if (!inlineHookId) {
      return Promise.reject(new Error('OKTA API deleteInlineHook parameter inlineHookId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/inlineHooks/${inlineHookId}`;

    const resources = [
      `${this.baseUrl}/api/v1/inlineHooks/${inlineHookId}`
    ];

    const request = this.http.delete(
      url,
      null,
      { resources }
    );
    return request;
  }
/**
   *
   * @param inlineHookId {String}
   * @description
   * Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.
   */
@param inlineHookId {String}
@description
Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.
@param inlineHookId { String } @description Deletes the Inline Hook matching the provided id . Once deleted the Inline Hook is unrecoverable . As a safety precaution only Inline Hooks with a status of INACTIVE are eligible for deletion .
deleteInlineHook(inlineHookId) {
    if (!inlineHookId) {
      return Promise.reject(new Error('OKTA API deleteInlineHook parameter inlineHookId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/inlineHooks/${inlineHookId}`;
    const resources = [
      `${this.baseUrl}/api/v1/inlineHooks/${inlineHookId}`
    ];
    const request = this.http.delete(
      url,
      null,
      { resources }
    );
    return request;
  }
deleteInlineHook ( inlineHookId ) { if ( ! inlineHookId ) { return Promise . reject ( new Error ( 'OKTA API deleteInlineHook parameter inlineHookId is required.' ) ) ; } let url = ` ${ this . baseUrl } ${ inlineHookId } ` ; const resources = [ ` ${ this . baseUrl } ${ inlineHookId } ` ] ; const request = this . http . delete ( url , null , { resources } ) ; return request ; }
@param inlineHookId {String}
 @description
 Deletes the Inline Hook matching the provided id.
@param inlineHookId { String } @description Deletes the Inline Hook matching the provided id .