Skip to content

Files

Latest commit

 

History

History
5942 lines (3722 loc) · 172 KB

AuthenticatorsApi.md

File metadata and controls

5942 lines (3722 loc) · 172 KB

\AuthenticatorsApi

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/

AuthenticatorsAdminAllList

[]Device AuthenticatorsAdminAllList(ctx).User(user).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
user int32

Return type

[]Device

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminDuoCreate

DuoDevice AuthenticatorsAdminDuoCreate(ctx).DuoDeviceRequest(duoDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
duoDeviceRequest DuoDeviceRequest

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminDuoDestroy

AuthenticatorsAdminDuoDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminDuoList

PaginatedDuoDeviceList AuthenticatorsAdminDuoList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedDuoDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminDuoPartialUpdate

DuoDevice AuthenticatorsAdminDuoPartialUpdate(ctx, id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedDuoDeviceRequest | PatchedDuoDeviceRequest | |

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminDuoRetrieve

DuoDevice AuthenticatorsAdminDuoRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminDuoUpdate

DuoDevice AuthenticatorsAdminDuoUpdate(ctx, id).DuoDeviceRequest(duoDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

duoDeviceRequest | DuoDeviceRequest | |

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEmailCreate

EmailDevice AuthenticatorsAdminEmailCreate(ctx).EmailDeviceRequest(emailDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
emailDeviceRequest EmailDeviceRequest

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEmailDestroy

AuthenticatorsAdminEmailDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEmailList

PaginatedEmailDeviceList AuthenticatorsAdminEmailList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedEmailDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEmailPartialUpdate

EmailDevice AuthenticatorsAdminEmailPartialUpdate(ctx, id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedEmailDeviceRequest | PatchedEmailDeviceRequest | |

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEmailRetrieve

EmailDevice AuthenticatorsAdminEmailRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEmailUpdate

EmailDevice AuthenticatorsAdminEmailUpdate(ctx, id).EmailDeviceRequest(emailDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

emailDeviceRequest | EmailDeviceRequest | |

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEndpointCreate

EndpointDevice AuthenticatorsAdminEndpointCreate(ctx).EndpointDeviceRequest(endpointDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
endpointDeviceRequest EndpointDeviceRequest

Return type

EndpointDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEndpointDestroy

AuthenticatorsAdminEndpointDestroy(ctx, uuid).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEndpointList

PaginatedEndpointDeviceList AuthenticatorsAdminEndpointList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedEndpointDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEndpointPartialUpdate

EndpointDevice AuthenticatorsAdminEndpointPartialUpdate(ctx, uuid).PatchedEndpointDeviceRequest(patchedEndpointDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedEndpointDeviceRequest | PatchedEndpointDeviceRequest | |

Return type

EndpointDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminEndpointRetrieve

EndpointDevice AuthenticatorsAdminEndpointRetrieve(ctx, uuid).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

EndpointDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminEndpointUpdate

EndpointDevice AuthenticatorsAdminEndpointUpdate(ctx, uuid).EndpointDeviceRequest(endpointDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

endpointDeviceRequest | EndpointDeviceRequest | |

Return type

EndpointDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminSmsCreate

SMSDevice AuthenticatorsAdminSmsCreate(ctx).SMSDeviceRequest(sMSDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
sMSDeviceRequest SMSDeviceRequest

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminSmsDestroy

AuthenticatorsAdminSmsDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminSmsList

PaginatedSMSDeviceList AuthenticatorsAdminSmsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedSMSDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminSmsPartialUpdate

SMSDevice AuthenticatorsAdminSmsPartialUpdate(ctx, id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedSMSDeviceRequest | PatchedSMSDeviceRequest | |

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminSmsRetrieve

SMSDevice AuthenticatorsAdminSmsRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminSmsUpdate

SMSDevice AuthenticatorsAdminSmsUpdate(ctx, id).SMSDeviceRequest(sMSDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

sMSDeviceRequest | SMSDeviceRequest | |

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminStaticCreate

StaticDevice AuthenticatorsAdminStaticCreate(ctx).StaticDeviceRequest(staticDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
staticDeviceRequest StaticDeviceRequest

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminStaticDestroy

AuthenticatorsAdminStaticDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminStaticList

PaginatedStaticDeviceList AuthenticatorsAdminStaticList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedStaticDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminStaticPartialUpdate

StaticDevice AuthenticatorsAdminStaticPartialUpdate(ctx, id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedStaticDeviceRequest | PatchedStaticDeviceRequest | |

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminStaticRetrieve

StaticDevice AuthenticatorsAdminStaticRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminStaticUpdate

StaticDevice AuthenticatorsAdminStaticUpdate(ctx, id).StaticDeviceRequest(staticDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

staticDeviceRequest | StaticDeviceRequest | |

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminTotpCreate

TOTPDevice AuthenticatorsAdminTotpCreate(ctx).TOTPDeviceRequest(tOTPDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
tOTPDeviceRequest TOTPDeviceRequest

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminTotpDestroy

AuthenticatorsAdminTotpDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminTotpList

PaginatedTOTPDeviceList AuthenticatorsAdminTotpList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedTOTPDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminTotpPartialUpdate

TOTPDevice AuthenticatorsAdminTotpPartialUpdate(ctx, id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedTOTPDeviceRequest | PatchedTOTPDeviceRequest | |

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminTotpRetrieve

TOTPDevice AuthenticatorsAdminTotpRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminTotpUpdate

TOTPDevice AuthenticatorsAdminTotpUpdate(ctx, id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

tOTPDeviceRequest | TOTPDeviceRequest | |

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminWebauthnCreate

WebAuthnDevice AuthenticatorsAdminWebauthnCreate(ctx).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()

Example

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)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
webAuthnDeviceRequest WebAuthnDeviceRequest

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminWebauthnDestroy

AuthenticatorsAdminWebauthnDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminWebauthnList

PaginatedWebAuthnDeviceList AuthenticatorsAdminWebauthnList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedWebAuthnDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminWebauthnPartialUpdate

WebAuthnDevice AuthenticatorsAdminWebauthnPartialUpdate(ctx, id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedWebAuthnDeviceRequest | PatchedWebAuthnDeviceRequest | |

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAdminWebauthnRetrieve

WebAuthnDevice AuthenticatorsAdminWebauthnRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsAdminWebauthnUpdate

WebAuthnDevice AuthenticatorsAdminWebauthnUpdate(ctx, id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

webAuthnDeviceRequest | WebAuthnDeviceRequest | |

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsAllList

[]Device AuthenticatorsAllList(ctx).Execute()

Example

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)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

[]Device

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsDuoDestroy

AuthenticatorsDuoDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsDuoList

PaginatedDuoDeviceList AuthenticatorsDuoList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedDuoDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsDuoPartialUpdate

DuoDevice AuthenticatorsDuoPartialUpdate(ctx, id).PatchedDuoDeviceRequest(patchedDuoDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedDuoDeviceRequest | PatchedDuoDeviceRequest | |

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsDuoRetrieve

DuoDevice AuthenticatorsDuoRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsDuoUpdate

DuoDevice AuthenticatorsDuoUpdate(ctx, id).DuoDeviceRequest(duoDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

duoDeviceRequest | DuoDeviceRequest | |

Return type

DuoDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsDuoUsedByList

[]UsedBy AuthenticatorsDuoUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEmailDestroy

AuthenticatorsEmailDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEmailList

PaginatedEmailDeviceList AuthenticatorsEmailList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedEmailDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEmailPartialUpdate

EmailDevice AuthenticatorsEmailPartialUpdate(ctx, id).PatchedEmailDeviceRequest(patchedEmailDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedEmailDeviceRequest | PatchedEmailDeviceRequest | |

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsEmailRetrieve

EmailDevice AuthenticatorsEmailRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEmailUpdate

EmailDevice AuthenticatorsEmailUpdate(ctx, id).EmailDeviceRequest(emailDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

emailDeviceRequest | EmailDeviceRequest | |

Return type

EmailDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsEmailUsedByList

[]UsedBy AuthenticatorsEmailUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEndpointList

PaginatedEndpointDeviceList AuthenticatorsEndpointList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedEndpointDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEndpointRetrieve

EndpointDevice AuthenticatorsEndpointRetrieve(ctx, uuid).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

EndpointDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsEndpointUsedByList

[]UsedBy AuthenticatorsEndpointUsedByList(ctx, uuid).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsSmsDestroy

AuthenticatorsSmsDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsSmsList

PaginatedSMSDeviceList AuthenticatorsSmsList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedSMSDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsSmsPartialUpdate

SMSDevice AuthenticatorsSmsPartialUpdate(ctx, id).PatchedSMSDeviceRequest(patchedSMSDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedSMSDeviceRequest | PatchedSMSDeviceRequest | |

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsSmsRetrieve

SMSDevice AuthenticatorsSmsRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsSmsUpdate

SMSDevice AuthenticatorsSmsUpdate(ctx, id).SMSDeviceRequest(sMSDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

sMSDeviceRequest | SMSDeviceRequest | |

Return type

SMSDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsSmsUsedByList

[]UsedBy AuthenticatorsSmsUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsStaticDestroy

AuthenticatorsStaticDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsStaticList

PaginatedStaticDeviceList AuthenticatorsStaticList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedStaticDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsStaticPartialUpdate

StaticDevice AuthenticatorsStaticPartialUpdate(ctx, id).PatchedStaticDeviceRequest(patchedStaticDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedStaticDeviceRequest | PatchedStaticDeviceRequest | |

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsStaticRetrieve

StaticDevice AuthenticatorsStaticRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsStaticUpdate

StaticDevice AuthenticatorsStaticUpdate(ctx, id).StaticDeviceRequest(staticDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

staticDeviceRequest | StaticDeviceRequest | |

Return type

StaticDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsStaticUsedByList

[]UsedBy AuthenticatorsStaticUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsTotpDestroy

AuthenticatorsTotpDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsTotpList

PaginatedTOTPDeviceList AuthenticatorsTotpList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedTOTPDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsTotpPartialUpdate

TOTPDevice AuthenticatorsTotpPartialUpdate(ctx, id).PatchedTOTPDeviceRequest(patchedTOTPDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedTOTPDeviceRequest | PatchedTOTPDeviceRequest | |

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsTotpRetrieve

TOTPDevice AuthenticatorsTotpRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsTotpUpdate

TOTPDevice AuthenticatorsTotpUpdate(ctx, id).TOTPDeviceRequest(tOTPDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

tOTPDeviceRequest | TOTPDeviceRequest | |

Return type

TOTPDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsTotpUsedByList

[]UsedBy AuthenticatorsTotpUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsWebauthnDestroy

AuthenticatorsWebauthnDestroy(ctx, id).Execute()

Example

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)
    }
}

Path Parameters

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

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

Name Type Description Notes

Return type

(empty response body)

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsWebauthnList

PaginatedWebAuthnDeviceList AuthenticatorsWebauthnList(ctx).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PaginatedWebAuthnDeviceList

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsWebauthnPartialUpdate

WebAuthnDevice AuthenticatorsWebauthnPartialUpdate(ctx, id).PatchedWebAuthnDeviceRequest(patchedWebAuthnDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

patchedWebAuthnDeviceRequest | PatchedWebAuthnDeviceRequest | |

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsWebauthnRetrieve

WebAuthnDevice AuthenticatorsWebauthnRetrieve(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

AuthenticatorsWebauthnUpdate

WebAuthnDevice AuthenticatorsWebauthnUpdate(ctx, id).WebAuthnDeviceRequest(webAuthnDeviceRequest).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

webAuthnDeviceRequest | WebAuthnDeviceRequest | |

Return type

WebAuthnDevice

Authorization

authentik

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

AuthenticatorsWebauthnUsedByList

[]UsedBy AuthenticatorsWebauthnUsedByList(ctx, id).Execute()

Example

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)
}

Path Parameters

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

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

Name Type Description Notes

Return type

[]UsedBy

Authorization

authentik

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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