Skip to content

Latest commit

 

History

History
73 lines (43 loc) · 1.66 KB

DeleteAccountApi.md

File metadata and controls

73 lines (43 loc) · 1.66 KB

\DeleteAccountApi

All URIs are relative to https://api.merge.dev/api/hris/v1

Method HTTP request Description
DeleteAccountCreate Post /delete-account

DeleteAccountCreate

DeleteAccountCreate(ctx).XAccountToken(xAccountToken).Execute()

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    xAccountToken := "xAccountToken_example" // string | Token identifying the end user.

    configuration := openapiclient.NewConfiguration()
    api_client := openapiclient.NewAPIClient(configuration)
    resp, r, err := api_client.DeleteAccountApi.DeleteAccountCreate(context.Background()).XAccountToken(xAccountToken).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `DeleteAccountApi.DeleteAccountCreate``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiDeleteAccountCreateRequest struct via the builder pattern

Name Type Description Notes
xAccountToken string Token identifying the end user.

Return type

(empty response body)

Authorization

tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]