All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
TenantsDomainsCreate | Post /tenants/domains/ | |
TenantsDomainsDestroy | Delete /tenants/domains/{id}/ | |
TenantsDomainsList | Get /tenants/domains/ | |
TenantsDomainsPartialUpdate | Patch /tenants/domains/{id}/ | |
TenantsDomainsRetrieve | Get /tenants/domains/{id}/ | |
TenantsDomainsUpdate | Put /tenants/domains/{id}/ | |
TenantsTenantsCreate | Post /tenants/tenants/ | |
TenantsTenantsCreateAdminGroupCreate | Post /tenants/tenants/{tenant_uuid}/create_admin_group/ | |
TenantsTenantsCreateRecoveryKeyCreate | Post /tenants/tenants/{tenant_uuid}/create_recovery_key/ | |
TenantsTenantsDestroy | Delete /tenants/tenants/{tenant_uuid}/ | |
TenantsTenantsList | Get /tenants/tenants/ | |
TenantsTenantsPartialUpdate | Patch /tenants/tenants/{tenant_uuid}/ | |
TenantsTenantsRetrieve | Get /tenants/tenants/{tenant_uuid}/ | |
TenantsTenantsUpdate | Put /tenants/tenants/{tenant_uuid}/ |
Domain TenantsDomainsCreate(ctx).DomainRequest(domainRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
domainRequest := *openapiclient.NewDomainRequest("Domain_example", "Tenant_example") // DomainRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsDomainsCreate(context.Background()).DomainRequest(domainRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsDomainsCreate`: Domain
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsDomainsCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTenantsDomainsCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
domainRequest | DomainRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TenantsDomainsDestroy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Domain.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsDomainsDestroy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Domain. |
Other parameters are passed through a pointer to a apiTenantsDomainsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedDomainList TenantsDomainsList(ctx).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
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.TenantsApi.TenantsDomainsList(context.Background()).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsDomainsList`: PaginatedDomainList
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsDomainsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTenantsDomainsListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
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. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Domain TenantsDomainsPartialUpdate(ctx, id).PatchedDomainRequest(patchedDomainRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Domain.
patchedDomainRequest := *openapiclient.NewPatchedDomainRequest() // PatchedDomainRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsDomainsPartialUpdate(context.Background(), id).PatchedDomainRequest(patchedDomainRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsDomainsPartialUpdate`: Domain
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsDomainsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Domain. |
Other parameters are passed through a pointer to a apiTenantsDomainsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedDomainRequest | PatchedDomainRequest | |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Domain TenantsDomainsRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Domain.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsDomainsRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsDomainsRetrieve`: Domain
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsDomainsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Domain. |
Other parameters are passed through a pointer to a apiTenantsDomainsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Domain TenantsDomainsUpdate(ctx, id).DomainRequest(domainRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Domain.
domainRequest := *openapiclient.NewDomainRequest("Domain_example", "Tenant_example") // DomainRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsDomainsUpdate(context.Background(), id).DomainRequest(domainRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsDomainsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsDomainsUpdate`: Domain
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsDomainsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Domain. |
Other parameters are passed through a pointer to a apiTenantsDomainsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
domainRequest | DomainRequest | |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tenant TenantsTenantsCreate(ctx).TenantRequest(tenantRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantRequest := *openapiclient.NewTenantRequest("SchemaName_example", "Name_example") // TenantRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsCreate(context.Background()).TenantRequest(tenantRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsCreate`: Tenant
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsCreate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTenantsTenantsCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
tenantRequest | TenantRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TenantsTenantsCreateAdminGroupCreate(ctx, tenantUuid).TenantAdminGroupRequestRequest(tenantAdminGroupRequestRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
tenantAdminGroupRequestRequest := *openapiclient.NewTenantAdminGroupRequestRequest("User_example") // TenantAdminGroupRequestRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsCreateAdminGroupCreate(context.Background(), tenantUuid).TenantAdminGroupRequestRequest(tenantAdminGroupRequestRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsCreateAdminGroupCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsCreateAdminGroupCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tenantAdminGroupRequestRequest | TenantAdminGroupRequestRequest | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TenantRecoveryKeyResponse TenantsTenantsCreateRecoveryKeyCreate(ctx, tenantUuid).TenantRecoveryKeyRequestRequest(tenantRecoveryKeyRequestRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
tenantRecoveryKeyRequestRequest := *openapiclient.NewTenantRecoveryKeyRequestRequest("User_example", int32(123)) // TenantRecoveryKeyRequestRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsCreateRecoveryKeyCreate(context.Background(), tenantUuid).TenantRecoveryKeyRequestRequest(tenantRecoveryKeyRequestRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsCreateRecoveryKeyCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsCreateRecoveryKeyCreate`: TenantRecoveryKeyResponse
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsCreateRecoveryKeyCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsCreateRecoveryKeyCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tenantRecoveryKeyRequestRequest | TenantRecoveryKeyRequestRequest | |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TenantsTenantsDestroy(ctx, tenantUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsDestroy(context.Background(), tenantUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedTenantList TenantsTenantsList(ctx).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
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.TenantsApi.TenantsTenantsList(context.Background()).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsList`: PaginatedTenantList
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiTenantsTenantsListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
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. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tenant TenantsTenantsPartialUpdate(ctx, tenantUuid).PatchedTenantRequest(patchedTenantRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
patchedTenantRequest := *openapiclient.NewPatchedTenantRequest() // PatchedTenantRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsPartialUpdate(context.Background(), tenantUuid).PatchedTenantRequest(patchedTenantRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsPartialUpdate`: Tenant
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsPartialUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
patchedTenantRequest | PatchedTenantRequest | |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tenant TenantsTenantsRetrieve(ctx, tenantUuid).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsRetrieve(context.Background(), tenantUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsRetrieve`: Tenant
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tenant TenantsTenantsUpdate(ctx, tenantUuid).TenantRequest(tenantRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
tenantUuid := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Tenant.
tenantRequest := *openapiclient.NewTenantRequest("SchemaName_example", "Name_example") // TenantRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TenantsApi.TenantsTenantsUpdate(context.Background(), tenantUuid).TenantRequest(tenantRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TenantsApi.TenantsTenantsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `TenantsTenantsUpdate`: Tenant
fmt.Fprintf(os.Stdout, "Response from `TenantsApi.TenantsTenantsUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
tenantUuid | string | A UUID string identifying this Tenant. |
Other parameters are passed through a pointer to a apiTenantsTenantsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tenantRequest | TenantRequest | |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]