All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
EditAccountInformation | Put /account | Edit account information |
GetAccountInformation | Get /account | Get Account information |
AccountInfo EditAccountInformation(ctx).AccountInfoEditRequest(accountInfoEditRequest).Execute()
Edit account information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
accountInfoEditRequest := *openapiclient.NewAccountInfoEditRequest() // AccountInfoEditRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AccountInfoAPI.EditAccountInformation(context.Background()).AccountInfoEditRequest(accountInfoEditRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AccountInfoAPI.EditAccountInformation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `EditAccountInformation`: AccountInfo
fmt.Fprintf(os.Stdout, "Response from `AccountInfoAPI.EditAccountInformation`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiEditAccountInformationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
accountInfoEditRequest | AccountInfoEditRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AccountInfo GetAccountInformation(ctx).Execute()
Get Account information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AccountInfoAPI.GetAccountInformation(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AccountInfoAPI.GetAccountInformation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAccountInformation`: AccountInfo
fmt.Fprintf(os.Stdout, "Response from `AccountInfoAPI.GetAccountInformation`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetAccountInformationRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]