All URIs are relative to https://api.paxos.com/v2
Method | HTTP request | Description |
---|---|---|
SandboxSetIdentityStatus | Put /identity/identities/{id}/sandbox-status | Sandbox Set Identity Status |
map[string]interface{} SandboxSetIdentityStatus(ctx, id).SandboxSetIdentityStatusRequest(sandboxSetIdentityStatusRequest).Execute()
Sandbox Set Identity Status
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/avianlabs/paxos-go"
)
func main() {
id := "id_example" // string |
sandboxSetIdentityStatusRequest := *openapiclient.NewSandboxSetIdentityStatusRequest() // SandboxSetIdentityStatusRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SandboxIdentityAPI.SandboxSetIdentityStatus(context.Background(), id).SandboxSetIdentityStatusRequest(sandboxSetIdentityStatusRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SandboxIdentityAPI.SandboxSetIdentityStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SandboxSetIdentityStatus`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `SandboxIdentityAPI.SandboxSetIdentityStatus`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiSandboxSetIdentityStatusRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
sandboxSetIdentityStatusRequest | SandboxSetIdentityStatusRequest | |
map[string]interface{}
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]