Skip to content

Latest commit

 

History

History
2529 lines (1708 loc) · 90 KB

DefaultAPI.md

File metadata and controls

2529 lines (1708 loc) · 90 KB

\DefaultAPI

All URIs are relative to http://localhost

Method HTTP request Description
AdminRealmsRealmClientsClientUuidAuthzResourceServerGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server
AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/import
AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/evaluate
AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission
AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission
AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/providers
AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/search
AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluate
AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy
AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy
AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/providers
AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/search
AdminRealmsRealmClientsClientUuidAuthzResourceServerPut Put /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/attributes
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete Delete /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/permissions
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut Put /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/scopes
AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/search
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost Post /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete Delete /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/permissions
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut Put /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/resources
AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search
AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet Get /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings

AdminRealmsRealmClientsClientUuidAuthzResourceServerGet

ResourceServerRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerGet(ctx, realm, clientUuid).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerGet(context.Background(), realm, clientUuid).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerGet`: ResourceServerRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

Return type

ResourceServerRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost

AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost(ctx, realm, clientUuid).ResourceServerRepresentation(resourceServerRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceServerRepresentation := *openapiclient.NewResourceServerRepresentation() // ResourceServerRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost(context.Background(), realm, clientUuid).ResourceServerRepresentation(resourceServerRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

resourceServerRepresentation | ResourceServerRepresentation | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost

PolicyEvaluationResponse AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost(ctx, realm, clientUuid).PolicyEvaluationRequest(policyEvaluationRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	policyEvaluationRequest := *openapiclient.NewPolicyEvaluationRequest() // PolicyEvaluationRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost(context.Background(), realm, clientUuid).PolicyEvaluationRequest(policyEvaluationRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost`: PolicyEvaluationResponse
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

policyEvaluationRequest | PolicyEvaluationRequest | |

Return type

PolicyEvaluationResponse

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet

[]AbstractPolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet(ctx, realm, clientUuid).Fields(fields).First(first).Max(max).Name(name).Owner(owner).Permission(permission).PolicyId(policyId).Resource(resource).Scope(scope).Type_(type_).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	fields := "fields_example" // string |  (optional)
	first := int32(56) // int32 |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	permission := true // bool |  (optional)
	policyId := "policyId_example" // string |  (optional)
	resource := "resource_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet(context.Background(), realm, clientUuid).Fields(fields).First(first).Max(max).Name(name).Owner(owner).Permission(permission).PolicyId(policyId).Resource(resource).Scope(scope).Type_(type_).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet`: []AbstractPolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

fields | string | | first | int32 | | max | int32 | | name | string | | owner | string | | permission | bool | | policyId | string | | resource | string | | scope | string | | type_ | string | |

Return type

[]AbstractPolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost(ctx, realm, clientUuid).Body(body).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	body := "body_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost(context.Background(), realm, clientUuid).Body(body).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

body | string | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet

[]PolicyProviderRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet(ctx, realm, clientUuid).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet(context.Background(), realm, clientUuid).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet`: []PolicyProviderRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

Return type

[]PolicyProviderRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet

AbstractPolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet(ctx, realm, clientUuid).Fields(fields).Name(name).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	fields := "fields_example" // string |  (optional)
	name := "name_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet(context.Background(), realm, clientUuid).Fields(fields).Name(name).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet`: AbstractPolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

fields | string | | name | string | |

Return type

AbstractPolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost

PolicyEvaluationResponse AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost(ctx, realm, clientUuid).PolicyEvaluationRequest(policyEvaluationRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	policyEvaluationRequest := *openapiclient.NewPolicyEvaluationRequest() // PolicyEvaluationRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost(context.Background(), realm, clientUuid).PolicyEvaluationRequest(policyEvaluationRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost`: PolicyEvaluationResponse
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

policyEvaluationRequest | PolicyEvaluationRequest | |

Return type

PolicyEvaluationResponse

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet

[]AbstractPolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet(ctx, realm, clientUuid).Fields(fields).First(first).Max(max).Name(name).Owner(owner).Permission(permission).PolicyId(policyId).Resource(resource).Scope(scope).Type_(type_).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	fields := "fields_example" // string |  (optional)
	first := int32(56) // int32 |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	permission := true // bool |  (optional)
	policyId := "policyId_example" // string |  (optional)
	resource := "resource_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet(context.Background(), realm, clientUuid).Fields(fields).First(first).Max(max).Name(name).Owner(owner).Permission(permission).PolicyId(policyId).Resource(resource).Scope(scope).Type_(type_).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet`: []AbstractPolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

fields | string | | first | int32 | | max | int32 | | name | string | | owner | string | | permission | bool | | policyId | string | | resource | string | | scope | string | | type_ | string | |

Return type

[]AbstractPolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost(ctx, realm, clientUuid).Body(body).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	body := "body_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost(context.Background(), realm, clientUuid).Body(body).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

body | string | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet

[]PolicyProviderRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet(ctx, realm, clientUuid).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet(context.Background(), realm, clientUuid).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet`: []PolicyProviderRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

Return type

[]PolicyProviderRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet

AbstractPolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet(ctx, realm, clientUuid).Fields(fields).Name(name).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	fields := "fields_example" // string |  (optional)
	name := "name_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet(context.Background(), realm, clientUuid).Fields(fields).Name(name).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet`: AbstractPolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

fields | string | | name | string | |

Return type

AbstractPolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerPut

AdminRealmsRealmClientsClientUuidAuthzResourceServerPut(ctx, realm, clientUuid).ResourceServerRepresentation(resourceServerRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceServerRepresentation := *openapiclient.NewResourceServerRepresentation() // ResourceServerRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPut(context.Background(), realm, clientUuid).ResourceServerRepresentation(resourceServerRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerPut``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

resourceServerRepresentation | ResourceServerRepresentation | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet

[]ResourceRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet(ctx, realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet(context.Background(), realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet`: []ResourceRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

[]ResourceRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost

ResourceRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost(ctx, realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).ResourceRepresentation(resourceRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)
	resourceRepresentation := *openapiclient.NewResourceRepresentation() // ResourceRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost(context.Background(), realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).ResourceRepresentation(resourceRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost`: ResourceRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | | resourceRepresentation | ResourceRepresentation | |

Return type

ResourceRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet

ResourceRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet`: ResourceRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

ResourceRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet

[]PolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet`: []PolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

[]PolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).ResourceRepresentation(resourceRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)
	resourceRepresentation := *openapiclient.NewResourceRepresentation() // ResourceRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).ResourceRepresentation(resourceRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | | resourceRepresentation | ResourceRepresentation | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet

[]ScopeRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet(ctx, realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	resourceId := "resourceId_example" // string | 
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet(context.Background(), realm, clientUuid, resourceId).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Name(name).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet`: []ScopeRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
resourceId string

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | name | string | | owner | string | | scope | string | | type_ | string | | uri | string | |

Return type

[]ScopeRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet

ResourceRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet(ctx, realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Name(name).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	id := "id_example" // string |  (optional)
	deep := true // bool |  (optional)
	exactName := true // bool |  (optional)
	first := int32(56) // int32 |  (optional)
	matchingUri := true // bool |  (optional)
	max := int32(56) // int32 |  (optional)
	owner := "owner_example" // string |  (optional)
	scope := "scope_example" // string |  (optional)
	type_ := "type__example" // string |  (optional)
	uri := "uri_example" // string |  (optional)
	name := "name_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet(context.Background(), realm, clientUuid).Id(id).Deep(deep).ExactName(exactName).First(first).MatchingUri(matchingUri).Max(max).Owner(owner).Scope(scope).Type_(type_).Uri(uri).Name(name).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet`: ResourceRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

id | string | | deep | bool | | exactName | bool | | first | int32 | | matchingUri | bool | | max | int32 | | owner | string | | scope | string | | type_ | string | | uri | string | | name | string | |

Return type

ResourceRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet

[]ScopeRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet(ctx, realm, clientUuid).First(first).Max(max).Name(name).ScopeId(scopeId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	first := int32(56) // int32 |  (optional)
	max := int32(56) // int32 |  (optional)
	name := "name_example" // string |  (optional)
	scopeId := "scopeId_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet(context.Background(), realm, clientUuid).First(first).Max(max).Name(name).ScopeId(scopeId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet`: []ScopeRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

first | int32 | | max | int32 | | name | string | | scopeId | string | |

Return type

[]ScopeRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost(ctx, realm, clientUuid).ScopeRepresentation(scopeRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeRepresentation := *openapiclient.NewScopeRepresentation() // ScopeRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost(context.Background(), realm, clientUuid).ScopeRepresentation(scopeRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

scopeRepresentation | ScopeRepresentation | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete(ctx, realm, clientUuid, scopeId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeId := "scopeId_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete(context.Background(), realm, clientUuid, scopeId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
scopeId string

Other Parameters

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

Name Type Description Notes

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet

ScopeRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet(ctx, realm, clientUuid, scopeId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeId := "scopeId_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet(context.Background(), realm, clientUuid, scopeId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet`: ScopeRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
scopeId string

Other Parameters

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

Name Type Description Notes

Return type

ScopeRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet

[]PolicyRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet(ctx, realm, clientUuid, scopeId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeId := "scopeId_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet(context.Background(), realm, clientUuid, scopeId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet`: []PolicyRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
scopeId string

Other Parameters

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

Name Type Description Notes

Return type

[]PolicyRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut(ctx, realm, clientUuid, scopeId).ScopeRepresentation(scopeRepresentation).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeId := "scopeId_example" // string | 
	scopeRepresentation := *openapiclient.NewScopeRepresentation() // ScopeRepresentation |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut(context.Background(), realm, clientUuid, scopeId).ScopeRepresentation(scopeRepresentation).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut``: %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.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
scopeId string

Other Parameters

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

Name Type Description Notes

scopeRepresentation | ScopeRepresentation | |

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet

[]ResourceRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet(ctx, realm, clientUuid, scopeId).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	scopeId := "scopeId_example" // string | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet(context.Background(), realm, clientUuid, scopeId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet`: []ResourceRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)
scopeId string

Other Parameters

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

Name Type Description Notes

Return type

[]ResourceRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet

[]ScopeRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet(ctx, realm, clientUuid).Name(name).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)
	name := "name_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet(context.Background(), realm, clientUuid).Name(name).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet`: []ScopeRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

name | string | |

Return type

[]ScopeRepresentation

Authorization

No authorization required

HTTP request headers

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

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

AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet

ResourceServerRepresentation AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet(ctx, realm, clientUuid).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)

func main() {
	realm := "realm_example" // string | realm name (not id!)
	clientUuid := "clientUuid_example" // string | id of client (not client-id!)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet(context.Background(), realm, clientUuid).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet`: ResourceServerRepresentation
	fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
realm string realm name (not id!)
clientUuid string id of client (not client-id!)

Other Parameters

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

Name Type Description Notes

Return type

ResourceServerRepresentation

Authorization

No authorization required

HTTP request headers

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

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