All URIs are relative to https://app.corellium.com/api
| Method | HTTP request | Description |
|---|---|---|
| V3AgreeToTerms | Post /v3/users/agree | Agree to terms |
| V3ChangePassword | Post /v3/users/change-password | Change password |
| V3CreateUser | Post /v3/users | Create a user |
| V3DeleteUser | Delete /v3/users/{userId} | Delete a user |
| V3GetResetLinkInfo | Post /v3/users/reset-link-info | Get reset link info |
| V3PatchUser | Patch /v3/users/{userId} | Update a user |
| V3ResetPassword | Post /v3/users/reset-password | Reset password |
| V3SendResetLink | Post /v3/users/send-reset-link | Send a password reset link |
| V3UpdateOwnProfile | Patch /v3/users/me | Update your profile |
AgreedAck V3AgreeToTerms(ctx).Execute()
Agree to terms
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.UsersAPI.V3AgreeToTerms(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3AgreeToTerms``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V3AgreeToTerms`: AgreedAck
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.V3AgreeToTerms`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV3AgreeToTermsRequest 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]
V3ChangePassword(ctx).ChangePasswordBody(changePasswordBody).Execute()
Change password
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
changePasswordBody := *openapiclient.NewChangePasswordBody("e8c5b7ea-aa5f-4a4a-bdca-0c67060b5320", "<redacted>", "<redacted>") // ChangePasswordBody |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3ChangePassword(context.Background()).ChangePasswordBody(changePasswordBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3ChangePassword``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiV3ChangePasswordRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| changePasswordBody | ChangePasswordBody |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserCreated V3CreateUser(ctx).CreateUserBody(createUserBody).Execute()
Create a user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
createUserBody := *openapiclient.NewCreateUserBody("jane.doe", "Domain Administrator") // CreateUserBody |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.UsersAPI.V3CreateUser(context.Background()).CreateUserBody(createUserBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3CreateUser``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V3CreateUser`: UserCreated
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.V3CreateUser`: %v\n", resp)
}Other parameters are passed through a pointer to a apiV3CreateUserRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| createUserBody | CreateUserBody |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V3DeleteUser(ctx, userId).Execute()
Delete a user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
userId := "e8c5b7ea-aa5f-4a4a-bdca-0c67060b5320" // string | User identifier.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3DeleteUser(context.Background(), userId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3DeleteUser``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userId | string | User identifier. |
Other parameters are passed through a pointer to a apiV3DeleteUserRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResetLinkInfo V3GetResetLinkInfo(ctx).GetResetLinkInfoBody(getResetLinkInfoBody).Execute()
Get reset link info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
getResetLinkInfoBody := *openapiclient.NewGetResetLinkInfoBody("<token>") // GetResetLinkInfoBody |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.UsersAPI.V3GetResetLinkInfo(context.Background()).GetResetLinkInfoBody(getResetLinkInfoBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3GetResetLinkInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V3GetResetLinkInfo`: ResetLinkInfo
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.V3GetResetLinkInfo`: %v\n", resp)
}Other parameters are passed through a pointer to a apiV3GetResetLinkInfoRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| getResetLinkInfoBody | GetResetLinkInfoBody |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V3PatchUser(ctx, userId).PatchUserBody(patchUserBody).Execute()
Update a user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
userId := "e8c5b7ea-aa5f-4a4a-bdca-0c67060b5320" // string | User identifier.
patchUserBody := *openapiclient.NewPatchUserBody() // PatchUserBody | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3PatchUser(context.Background(), userId).PatchUserBody(patchUserBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3PatchUser``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userId | string | User identifier. |
Other parameters are passed through a pointer to a apiV3PatchUserRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
patchUserBody | PatchUserBody | |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V3ResetPassword(ctx).ResetPasswordBody(resetPasswordBody).Execute()
Reset password
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
resetPasswordBody := *openapiclient.NewResetPasswordBody("<token>", "<redacted>") // ResetPasswordBody |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3ResetPassword(context.Background()).ResetPasswordBody(resetPasswordBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3ResetPassword``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiV3ResetPasswordRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| resetPasswordBody | ResetPasswordBody |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V3SendResetLink(ctx).SendResetLinkBody(sendResetLinkBody).Execute()
Send a password reset link
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
sendResetLinkBody := *openapiclient.NewSendResetLinkBody() // SendResetLinkBody | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3SendResetLink(context.Background()).SendResetLinkBody(sendResetLinkBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3SendResetLink``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiV3SendResetLinkRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| sendResetLinkBody | SendResetLinkBody |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V3UpdateOwnProfile(ctx).UpdateOwnProfileBody(updateOwnProfileBody).Execute()
Update your profile
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
updateOwnProfileBody := *openapiclient.NewUpdateOwnProfileBody("Jane Doe") // UpdateOwnProfileBody |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.UsersAPI.V3UpdateOwnProfile(context.Background()).UpdateOwnProfileBody(updateOwnProfileBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.V3UpdateOwnProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiV3UpdateOwnProfileRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| updateOwnProfileBody | UpdateOwnProfileBody |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]