All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
AuthenticatorsAdminAllList | Get /authenticators/admin/all/ | |
AuthenticatorsAdminDuoCreate | Post /authenticators/admin/duo/ | |
AuthenticatorsAdminDuoDestroy | Delete /authenticators/admin/duo/{id}/ | |
AuthenticatorsAdminDuoList | Get /authenticators/admin/duo/ | |
AuthenticatorsAdminDuoPartialUpdate | Patch /authenticators/admin/duo/{id}/ | |
AuthenticatorsAdminDuoRetrieve | Get /authenticators/admin/duo/{id}/ | |
AuthenticatorsAdminDuoUpdate | Put /authenticators/admin/duo/{id}/ | |
AuthenticatorsAdminEmailCreate | Post /authenticators/admin/email/ | |
AuthenticatorsAdminEmailDestroy | Delete /authenticators/admin/email/{id}/ | |
AuthenticatorsAdminEmailList | Get /authenticators/admin/email/ | |
AuthenticatorsAdminEmailPartialUpdate | Patch /authenticators/admin/email/{id}/ | |
AuthenticatorsAdminEmailRetrieve | Get /authenticators/admin/email/{id}/ | |
AuthenticatorsAdminEmailUpdate | Put /authenticators/admin/email/{id}/ | |
AuthenticatorsAdminEndpointCreate | Post /authenticators/admin/endpoint/ | |
AuthenticatorsAdminEndpointDestroy | Delete /authenticators/admin/endpoint/{uuid}/ | |
AuthenticatorsAdminEndpointList | Get /authenticators/admin/endpoint/ | |
AuthenticatorsAdminEndpointPartialUpdate | Patch /authenticators/admin/endpoint/{uuid}/ | |
AuthenticatorsAdminEndpointRetrieve | Get /authenticators/admin/endpoint/{uuid}/ | |
AuthenticatorsAdminEndpointUpdate | Put /authenticators/admin/endpoint/{uuid}/ | |
AuthenticatorsAdminSmsCreate | Post /authenticators/admin/sms/ | |
AuthenticatorsAdminSmsDestroy | Delete /authenticators/admin/sms/{id}/ | |
AuthenticatorsAdminSmsList | Get /authenticators/admin/sms/ | |
AuthenticatorsAdminSmsPartialUpdate | Patch /authenticators/admin/sms/{id}/ | |
AuthenticatorsAdminSmsRetrieve | Get /authenticators/admin/sms/{id}/ | |
AuthenticatorsAdminSmsUpdate | Put /authenticators/admin/sms/{id}/ | |
AuthenticatorsAdminStaticCreate | Post /authenticators/admin/static/ | |
AuthenticatorsAdminStaticDestroy | Delete /authenticators/admin/static/{id}/ | |
AuthenticatorsAdminStaticList | Get /authenticators/admin/static/ | |
AuthenticatorsAdminStaticPartialUpdate | Patch /authenticators/admin/static/{id}/ | |
AuthenticatorsAdminStaticRetrieve | Get /authenticators/admin/static/{id}/ | |
AuthenticatorsAdminStaticUpdate | Put /authenticators/admin/static/{id}/ | |
AuthenticatorsAdminTotpCreate | Post /authenticators/admin/totp/ | |
AuthenticatorsAdminTotpDestroy | Delete /authenticators/admin/totp/{id}/ | |
AuthenticatorsAdminTotpList | Get /authenticators/admin/totp/ | |
AuthenticatorsAdminTotpPartialUpdate | Patch /authenticators/admin/totp/{id}/ | |
AuthenticatorsAdminTotpRetrieve | Get /authenticators/admin/totp/{id}/ | |
AuthenticatorsAdminTotpUpdate | Put /authenticators/admin/totp/{id}/ | |
AuthenticatorsAdminWebauthnCreate | Post /authenticators/admin/webauthn/ | |
AuthenticatorsAdminWebauthnDestroy | Delete /authenticators/admin/webauthn/{id}/ | |
AuthenticatorsAdminWebauthnList | Get /authenticators/admin/webauthn/ | |
AuthenticatorsAdminWebauthnPartialUpdate | Patch /authenticators/admin/webauthn/{id}/ | |
AuthenticatorsAdminWebauthnRetrieve | Get /authenticators/admin/webauthn/{id}/ | |
AuthenticatorsAdminWebauthnUpdate | Put /authenticators/admin/webauthn/{id}/ | |
AuthenticatorsAllList | Get /authenticators/all/ | |
AuthenticatorsDuoDestroy | Delete /authenticators/duo/{id}/ | |
AuthenticatorsDuoList | Get /authenticators/duo/ | |
AuthenticatorsDuoPartialUpdate | Patch /authenticators/duo/{id}/ | |
AuthenticatorsDuoRetrieve | Get /authenticators/duo/{id}/ | |
AuthenticatorsDuoUpdate | Put /authenticators/duo/{id}/ | |
AuthenticatorsDuoUsedByList | Get /authenticators/duo/{id}/used_by/ | |
AuthenticatorsEmailDestroy | Delete /authenticators/email/{id}/ | |
AuthenticatorsEmailList | Get /authenticators/email/ | |
AuthenticatorsEmailPartialUpdate | Patch /authenticators/email/{id}/ | |
AuthenticatorsEmailRetrieve | Get /authenticators/email/{id}/ | |
AuthenticatorsEmailUpdate | Put /authenticators/email/{id}/ | |
AuthenticatorsEmailUsedByList | Get /authenticators/email/{id}/used_by/ | |
AuthenticatorsEndpointList | Get /authenticators/endpoint/ | |
AuthenticatorsEndpointRetrieve | Get /authenticators/endpoint/{uuid}/ | |
AuthenticatorsEndpointUsedByList | Get /authenticators/endpoint/{uuid}/used_by/ | |
AuthenticatorsSmsDestroy | Delete /authenticators/sms/{id}/ | |
AuthenticatorsSmsList | Get /authenticators/sms/ | |
AuthenticatorsSmsPartialUpdate | Patch /authenticators/sms/{id}/ | |
AuthenticatorsSmsRetrieve | Get /authenticators/sms/{id}/ | |
AuthenticatorsSmsUpdate | Put /authenticators/sms/{id}/ | |
AuthenticatorsSmsUsedByList | Get /authenticators/sms/{id}/used_by/ | |
AuthenticatorsStaticDestroy | Delete /authenticators/static/{id}/ | |
AuthenticatorsStaticList | Get /authenticators/static/ | |
AuthenticatorsStaticPartialUpdate | Patch /authenticators/static/{id}/ | |
AuthenticatorsStaticRetrieve | Get /authenticators/static/{id}/ | |
AuthenticatorsStaticUpdate | Put /authenticators/static/{id}/ | |
AuthenticatorsStaticUsedByList | Get /authenticators/static/{id}/used_by/ | |
AuthenticatorsTotpDestroy | Delete /authenticators/totp/{id}/ | |
AuthenticatorsTotpList | Get /authenticators/totp/ | |
AuthenticatorsTotpPartialUpdate | Patch /authenticators/totp/{id}/ | |
AuthenticatorsTotpRetrieve | Get /authenticators/totp/{id}/ | |
AuthenticatorsTotpUpdate | Put /authenticators/totp/{id}/ | |
AuthenticatorsTotpUsedByList | Get /authenticators/totp/{id}/used_by/ | |
AuthenticatorsWebauthnDestroy | Delete /authenticators/webauthn/{id}/ | |
AuthenticatorsWebauthnList | Get /authenticators/webauthn/ | |
AuthenticatorsWebauthnPartialUpdate | Patch /authenticators/webauthn/{id}/ | |
AuthenticatorsWebauthnRetrieve | Get /authenticators/webauthn/{id}/ | |
AuthenticatorsWebauthnUpdate | Put /authenticators/webauthn/{id}/ | |
AuthenticatorsWebauthnUsedByList | Get /authenticators/webauthn/{id}/used_by/ |
[]Device AuthenticatorsAdminAllList(ctx).User(user).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
user := int32(56) // int32 | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminAllList(context.Background()).User(user).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminAllList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminAllList`: []Device
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminAllList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminAllListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
user | int32 |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsAdminDuoCreate(ctx).DuoDeviceRequest(duoDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
duoDeviceRequest := *openapiclient.NewDuoDeviceRequest("Name_example") // DuoDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoCreate(context.Background()).DuoDeviceRequest(duoDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminDuoCreate`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminDuoCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
duoDeviceRequest | DuoDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminDuoDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoDestroy``: %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. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoDestroyRequest 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]
PaginatedDuoDeviceList AuthenticatorsAdminDuoList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminDuoList`: PaginatedDuoDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminDuoList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsAdminDuoPartialUpdate(ctx, id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
patchedDuoDeviceRequest := *openapiclient.NewPatchedDuoDeviceRequest() // PatchedDuoDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoPartialUpdate(context.Background(), id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminDuoPartialUpdate`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminDuoPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedDuoDeviceRequest | PatchedDuoDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsAdminDuoRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminDuoRetrieve`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminDuoRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsAdminDuoUpdate(ctx, id).DuoDeviceRequest(duoDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
duoDeviceRequest := *openapiclient.NewDuoDeviceRequest("Name_example") // DuoDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminDuoUpdate(context.Background(), id).DuoDeviceRequest(duoDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminDuoUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminDuoUpdate`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminDuoUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminDuoUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
duoDeviceRequest | DuoDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsAdminEmailCreate(ctx).EmailDeviceRequest(emailDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
emailDeviceRequest := *openapiclient.NewEmailDeviceRequest("Name_example") // EmailDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailCreate(context.Background()).EmailDeviceRequest(emailDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEmailCreate`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEmailCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
emailDeviceRequest | EmailDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminEmailDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailDestroy``: %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. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailDestroyRequest 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]
PaginatedEmailDeviceList AuthenticatorsAdminEmailList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEmailList`: PaginatedEmailDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEmailList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsAdminEmailPartialUpdate(ctx, id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
patchedEmailDeviceRequest := *openapiclient.NewPatchedEmailDeviceRequest() // PatchedEmailDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailPartialUpdate(context.Background(), id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEmailPartialUpdate`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEmailPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedEmailDeviceRequest | PatchedEmailDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsAdminEmailRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEmailRetrieve`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEmailRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsAdminEmailUpdate(ctx, id).EmailDeviceRequest(emailDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
emailDeviceRequest := *openapiclient.NewEmailDeviceRequest("Name_example") // EmailDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEmailUpdate(context.Background(), id).EmailDeviceRequest(emailDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEmailUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEmailUpdate`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEmailUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEmailUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
emailDeviceRequest | EmailDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EndpointDevice AuthenticatorsAdminEndpointCreate(ctx).EndpointDeviceRequest(endpointDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
endpointDeviceRequest := *openapiclient.NewEndpointDeviceRequest("Name_example") // EndpointDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointCreate(context.Background()).EndpointDeviceRequest(endpointDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEndpointCreate`: EndpointDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEndpointCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
endpointDeviceRequest | EndpointDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminEndpointDestroy(ctx, uuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointDestroy(context.Background(), uuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointDestroy``: %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. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointDestroyRequest 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]
PaginatedEndpointDeviceList AuthenticatorsAdminEndpointList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEndpointList`: PaginatedEndpointDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEndpointList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EndpointDevice AuthenticatorsAdminEndpointPartialUpdate(ctx, uuid).PatchedEndpointDeviceRequest(patchedEndpointDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
patchedEndpointDeviceRequest := *openapiclient.NewPatchedEndpointDeviceRequest() // PatchedEndpointDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointPartialUpdate(context.Background(), uuid).PatchedEndpointDeviceRequest(patchedEndpointDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEndpointPartialUpdate`: EndpointDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEndpointPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedEndpointDeviceRequest | PatchedEndpointDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EndpointDevice AuthenticatorsAdminEndpointRetrieve(ctx, uuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointRetrieve(context.Background(), uuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEndpointRetrieve`: EndpointDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEndpointRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EndpointDevice AuthenticatorsAdminEndpointUpdate(ctx, uuid).EndpointDeviceRequest(endpointDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
endpointDeviceRequest := *openapiclient.NewEndpointDeviceRequest("Name_example") // EndpointDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminEndpointUpdate(context.Background(), uuid).EndpointDeviceRequest(endpointDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminEndpointUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminEndpointUpdate`: EndpointDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminEndpointUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminEndpointUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
endpointDeviceRequest | EndpointDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsAdminSmsCreate(ctx).SMSDeviceRequest(sMSDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
sMSDeviceRequest := *openapiclient.NewSMSDeviceRequest("Name_example") // SMSDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsCreate(context.Background()).SMSDeviceRequest(sMSDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminSmsCreate`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminSmsCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
sMSDeviceRequest | SMSDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminSmsDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsDestroy``: %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. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsDestroyRequest 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]
PaginatedSMSDeviceList AuthenticatorsAdminSmsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminSmsList`: PaginatedSMSDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminSmsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsAdminSmsPartialUpdate(ctx, id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
patchedSMSDeviceRequest := *openapiclient.NewPatchedSMSDeviceRequest() // PatchedSMSDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsPartialUpdate(context.Background(), id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminSmsPartialUpdate`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminSmsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedSMSDeviceRequest | PatchedSMSDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsAdminSmsRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminSmsRetrieve`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminSmsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsAdminSmsUpdate(ctx, id).SMSDeviceRequest(sMSDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
sMSDeviceRequest := *openapiclient.NewSMSDeviceRequest("Name_example") // SMSDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminSmsUpdate(context.Background(), id).SMSDeviceRequest(sMSDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminSmsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminSmsUpdate`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminSmsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminSmsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
sMSDeviceRequest | SMSDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsAdminStaticCreate(ctx).StaticDeviceRequest(staticDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
staticDeviceRequest := *openapiclient.NewStaticDeviceRequest("Name_example") // StaticDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticCreate(context.Background()).StaticDeviceRequest(staticDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminStaticCreate`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminStaticCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
staticDeviceRequest | StaticDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminStaticDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticDestroy``: %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. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticDestroyRequest 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]
PaginatedStaticDeviceList AuthenticatorsAdminStaticList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminStaticList`: PaginatedStaticDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminStaticList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsAdminStaticPartialUpdate(ctx, id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
patchedStaticDeviceRequest := *openapiclient.NewPatchedStaticDeviceRequest() // PatchedStaticDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticPartialUpdate(context.Background(), id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminStaticPartialUpdate`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminStaticPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedStaticDeviceRequest | PatchedStaticDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsAdminStaticRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminStaticRetrieve`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminStaticRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsAdminStaticUpdate(ctx, id).StaticDeviceRequest(staticDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
staticDeviceRequest := *openapiclient.NewStaticDeviceRequest("Name_example") // StaticDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminStaticUpdate(context.Background(), id).StaticDeviceRequest(staticDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminStaticUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminStaticUpdate`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminStaticUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminStaticUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
staticDeviceRequest | StaticDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsAdminTotpCreate(ctx).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tOTPDeviceRequest := *openapiclient.NewTOTPDeviceRequest("Name_example") // TOTPDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpCreate(context.Background()).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminTotpCreate`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminTotpCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
tOTPDeviceRequest | TOTPDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminTotpDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpDestroy``: %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. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpDestroyRequest 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]
PaginatedTOTPDeviceList AuthenticatorsAdminTotpList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminTotpList`: PaginatedTOTPDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminTotpList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsAdminTotpPartialUpdate(ctx, id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
patchedTOTPDeviceRequest := *openapiclient.NewPatchedTOTPDeviceRequest() // PatchedTOTPDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpPartialUpdate(context.Background(), id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminTotpPartialUpdate`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminTotpPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedTOTPDeviceRequest | PatchedTOTPDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsAdminTotpRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminTotpRetrieve`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminTotpRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsAdminTotpUpdate(ctx, id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
tOTPDeviceRequest := *openapiclient.NewTOTPDeviceRequest("Name_example") // TOTPDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminTotpUpdate(context.Background(), id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminTotpUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminTotpUpdate`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminTotpUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminTotpUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tOTPDeviceRequest | TOTPDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsAdminWebauthnCreate(ctx).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
webAuthnDeviceRequest := *openapiclient.NewWebAuthnDeviceRequest("Name_example") // WebAuthnDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnCreate(context.Background()).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminWebauthnCreate`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminWebauthnCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
webAuthnDeviceRequest | WebAuthnDeviceRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsAdminWebauthnDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnDestroy``: %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. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnDestroyRequest 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]
PaginatedWebAuthnDeviceList AuthenticatorsAdminWebauthnList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminWebauthnList`: PaginatedWebAuthnDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminWebauthnList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsAdminWebauthnPartialUpdate(ctx, id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
patchedWebAuthnDeviceRequest := *openapiclient.NewPatchedWebAuthnDeviceRequest() // PatchedWebAuthnDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnPartialUpdate(context.Background(), id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminWebauthnPartialUpdate`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminWebauthnPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedWebAuthnDeviceRequest | PatchedWebAuthnDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsAdminWebauthnRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminWebauthnRetrieve`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminWebauthnRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsAdminWebauthnUpdate(ctx, id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
webAuthnDeviceRequest := *openapiclient.NewWebAuthnDeviceRequest("Name_example") // WebAuthnDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAdminWebauthnUpdate(context.Background(), id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAdminWebauthnUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAdminWebauthnUpdate`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAdminWebauthnUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsAdminWebauthnUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
webAuthnDeviceRequest | WebAuthnDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Device AuthenticatorsAllList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsAllList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsAllList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsAllList`: []Device
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsAllList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAuthenticatorsAllListRequest 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]
AuthenticatorsDuoDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoDestroy``: %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. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsDuoDestroyRequest 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]
PaginatedDuoDeviceList AuthenticatorsDuoList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsDuoList`: PaginatedDuoDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsDuoList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsDuoListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsDuoPartialUpdate(ctx, id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
patchedDuoDeviceRequest := *openapiclient.NewPatchedDuoDeviceRequest() // PatchedDuoDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoPartialUpdate(context.Background(), id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsDuoPartialUpdate`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsDuoPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsDuoPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedDuoDeviceRequest | PatchedDuoDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsDuoRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsDuoRetrieve`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsDuoRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsDuoRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuoDevice AuthenticatorsDuoUpdate(ctx, id).DuoDeviceRequest(duoDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
duoDeviceRequest := *openapiclient.NewDuoDeviceRequest("Name_example") // DuoDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoUpdate(context.Background(), id).DuoDeviceRequest(duoDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsDuoUpdate`: DuoDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsDuoUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsDuoUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
duoDeviceRequest | DuoDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsDuoUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Duo Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsDuoUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsDuoUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsDuoUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsDuoUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Duo Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsDuoUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsEmailDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailDestroy``: %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. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEmailDestroyRequest 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]
PaginatedEmailDeviceList AuthenticatorsEmailList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEmailList`: PaginatedEmailDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEmailList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsEmailListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsEmailPartialUpdate(ctx, id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
patchedEmailDeviceRequest := *openapiclient.NewPatchedEmailDeviceRequest() // PatchedEmailDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailPartialUpdate(context.Background(), id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEmailPartialUpdate`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEmailPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEmailPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedEmailDeviceRequest | PatchedEmailDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsEmailRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEmailRetrieve`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEmailRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEmailRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmailDevice AuthenticatorsEmailUpdate(ctx, id).EmailDeviceRequest(emailDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
emailDeviceRequest := *openapiclient.NewEmailDeviceRequest("Name_example") // EmailDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailUpdate(context.Background(), id).EmailDeviceRequest(emailDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEmailUpdate`: EmailDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEmailUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEmailUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
emailDeviceRequest | EmailDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsEmailUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Email Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEmailUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEmailUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEmailUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEmailUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Email Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEmailUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedEndpointDeviceList AuthenticatorsEndpointList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEndpointList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEndpointList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEndpointList`: PaginatedEndpointDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEndpointList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsEndpointListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EndpointDevice AuthenticatorsEndpointRetrieve(ctx, uuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEndpointRetrieve(context.Background(), uuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEndpointRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEndpointRetrieve`: EndpointDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEndpointRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEndpointRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsEndpointUsedByList(ctx, uuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
uuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Endpoint Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsEndpointUsedByList(context.Background(), uuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsEndpointUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsEndpointUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsEndpointUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
uuid | string | A UUID string identifying this Endpoint Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsEndpointUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsSmsDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsDestroy``: %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. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsSmsDestroyRequest 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]
PaginatedSMSDeviceList AuthenticatorsSmsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsSmsList`: PaginatedSMSDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsSmsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsSmsListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsSmsPartialUpdate(ctx, id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
patchedSMSDeviceRequest := *openapiclient.NewPatchedSMSDeviceRequest() // PatchedSMSDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsPartialUpdate(context.Background(), id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsSmsPartialUpdate`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsSmsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsSmsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedSMSDeviceRequest | PatchedSMSDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsSmsRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsSmsRetrieve`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsSmsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsSmsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SMSDevice AuthenticatorsSmsUpdate(ctx, id).SMSDeviceRequest(sMSDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
sMSDeviceRequest := *openapiclient.NewSMSDeviceRequest("Name_example") // SMSDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsUpdate(context.Background(), id).SMSDeviceRequest(sMSDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsSmsUpdate`: SMSDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsSmsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsSmsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
sMSDeviceRequest | SMSDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsSmsUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this SMS Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsSmsUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsSmsUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsSmsUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsSmsUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this SMS Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsSmsUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsStaticDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticDestroy``: %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. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsStaticDestroyRequest 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]
PaginatedStaticDeviceList AuthenticatorsStaticList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsStaticList`: PaginatedStaticDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsStaticList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsStaticListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsStaticPartialUpdate(ctx, id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
patchedStaticDeviceRequest := *openapiclient.NewPatchedStaticDeviceRequest() // PatchedStaticDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticPartialUpdate(context.Background(), id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsStaticPartialUpdate`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsStaticPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsStaticPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedStaticDeviceRequest | PatchedStaticDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsStaticRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsStaticRetrieve`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsStaticRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsStaticRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StaticDevice AuthenticatorsStaticUpdate(ctx, id).StaticDeviceRequest(staticDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
staticDeviceRequest := *openapiclient.NewStaticDeviceRequest("Name_example") // StaticDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticUpdate(context.Background(), id).StaticDeviceRequest(staticDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsStaticUpdate`: StaticDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsStaticUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsStaticUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
staticDeviceRequest | StaticDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsStaticUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Static Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsStaticUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsStaticUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsStaticUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsStaticUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Static Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsStaticUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsTotpDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpDestroy``: %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. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsTotpDestroyRequest 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]
PaginatedTOTPDeviceList AuthenticatorsTotpList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsTotpList`: PaginatedTOTPDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsTotpList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsTotpListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsTotpPartialUpdate(ctx, id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
patchedTOTPDeviceRequest := *openapiclient.NewPatchedTOTPDeviceRequest() // PatchedTOTPDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpPartialUpdate(context.Background(), id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsTotpPartialUpdate`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsTotpPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsTotpPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedTOTPDeviceRequest | PatchedTOTPDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsTotpRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsTotpRetrieve`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsTotpRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsTotpRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TOTPDevice AuthenticatorsTotpUpdate(ctx, id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
tOTPDeviceRequest := *openapiclient.NewTOTPDeviceRequest("Name_example") // TOTPDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpUpdate(context.Background(), id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsTotpUpdate`: TOTPDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsTotpUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsTotpUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tOTPDeviceRequest | TOTPDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsTotpUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this TOTP Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsTotpUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsTotpUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsTotpUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsTotpUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this TOTP Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsTotpUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticatorsWebauthnDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnDestroy``: %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. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnDestroyRequest 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]
PaginatedWebAuthnDeviceList AuthenticatorsWebauthnList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
name := "name_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int32(56) // int32 | A page number within the paginated result set. (optional)
pageSize := int32(56) // int32 | Number of results to return per page. (optional)
search := "search_example" // string | A search term. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnList(context.Background()).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsWebauthnList`: PaginatedWebAuthnDeviceList
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsWebauthnList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | ||
ordering | string | Which field to use when ordering the results. | |
page | int32 | A page number within the paginated result set. | |
pageSize | int32 | Number of results to return per page. | |
search | string | A search term. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsWebauthnPartialUpdate(ctx, id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
patchedWebAuthnDeviceRequest := *openapiclient.NewPatchedWebAuthnDeviceRequest() // PatchedWebAuthnDeviceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnPartialUpdate(context.Background(), id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsWebauthnPartialUpdate`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsWebauthnPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedWebAuthnDeviceRequest | PatchedWebAuthnDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsWebauthnRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsWebauthnRetrieve`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsWebauthnRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebAuthnDevice AuthenticatorsWebauthnUpdate(ctx, id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
webAuthnDeviceRequest := *openapiclient.NewWebAuthnDeviceRequest("Name_example") // WebAuthnDeviceRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnUpdate(context.Background(), id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsWebauthnUpdate`: WebAuthnDevice
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsWebauthnUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
webAuthnDeviceRequest | WebAuthnDeviceRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]UsedBy AuthenticatorsWebauthnUsedByList(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this WebAuthn Device.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticatorsApi.AuthenticatorsWebauthnUsedByList(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticatorsApi.AuthenticatorsWebauthnUsedByList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticatorsWebauthnUsedByList`: []UsedBy
fmt.Fprintf(os.Stdout, "Response from `AuthenticatorsApi.AuthenticatorsWebauthnUsedByList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this WebAuthn Device. |
Other parameters are passed through a pointer to a apiAuthenticatorsWebauthnUsedByListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]