All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AdminRealmsRealmClientScopesClientScopeIdDelete | Delete /admin/realms/{realm}/client-scopes/{client-scope-id} | Delete the client scope |
AdminRealmsRealmClientScopesClientScopeIdGet | Get /admin/realms/{realm}/client-scopes/{client-scope-id} | Get representation of the client scope |
AdminRealmsRealmClientScopesClientScopeIdPut | Put /admin/realms/{realm}/client-scopes/{client-scope-id} | Update the client scope |
AdminRealmsRealmClientScopesGet | Get /admin/realms/{realm}/client-scopes | Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm |
AdminRealmsRealmClientScopesPost | Post /admin/realms/{realm}/client-scopes | Create a new client scope Client Scope’s name must be unique! |
AdminRealmsRealmClientTemplatesClientScopeIdDelete | Delete /admin/realms/{realm}/client-templates/{client-scope-id} | Delete the client scope |
AdminRealmsRealmClientTemplatesClientScopeIdGet | Get /admin/realms/{realm}/client-templates/{client-scope-id} | Get representation of the client scope |
AdminRealmsRealmClientTemplatesClientScopeIdPut | Put /admin/realms/{realm}/client-templates/{client-scope-id} | Update the client scope |
AdminRealmsRealmClientTemplatesGet | Get /admin/realms/{realm}/client-templates | Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm |
AdminRealmsRealmClientTemplatesPost | Post /admin/realms/{realm}/client-templates | Create a new client scope Client Scope’s name must be unique! |
AdminRealmsRealmClientScopesClientScopeIdDelete(ctx, realm, clientScopeId).Execute()
Delete the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdDelete(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdDelete``: %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. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClientScopeRepresentation AdminRealmsRealmClientScopesClientScopeIdGet(ctx, realm, clientScopeId).Execute()
Get representation of the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdGet(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientScopesClientScopeIdGet`: ClientScopeRepresentation
fmt.Fprintf(os.Stdout, "Response from `ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdGetRequest 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]
AdminRealmsRealmClientScopesClientScopeIdPut(ctx, realm, clientScopeId).ClientScopeRepresentation(clientScopeRepresentation).Execute()
Update the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
clientScopeRepresentation := *openapiclient.NewClientScopeRepresentation() // ClientScopeRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdPut(context.Background(), realm, clientScopeId).ClientScopeRepresentation(clientScopeRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientScopesClientScopeIdPut``: %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. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
clientScopeRepresentation | ClientScopeRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ClientScopeRepresentation AdminRealmsRealmClientScopesGet(ctx, realm).Execute()
Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm
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!)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientScopesGet(context.Background(), realm).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientScopesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientScopesGet`: []ClientScopeRepresentation
fmt.Fprintf(os.Stdout, "Response from `ClientScopesAPI.AdminRealmsRealmClientScopesGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesGetRequest 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]
AdminRealmsRealmClientScopesPost(ctx, realm).ClientScopeRepresentation(clientScopeRepresentation).Execute()
Create a new client scope Client Scope’s name must be unique!
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!)
clientScopeRepresentation := *openapiclient.NewClientScopeRepresentation() // ClientScopeRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientScopesPost(context.Background(), realm).ClientScopeRepresentation(clientScopeRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientScopesPost``: %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. | |
realm | string | realm name (not id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
clientScopeRepresentation | ClientScopeRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientTemplatesClientScopeIdDelete(ctx, realm, clientScopeId).Execute()
Delete the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdDelete(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdDelete``: %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. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClientScopeRepresentation AdminRealmsRealmClientTemplatesClientScopeIdGet(ctx, realm, clientScopeId).Execute()
Get representation of the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdGet(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientTemplatesClientScopeIdGet`: ClientScopeRepresentation
fmt.Fprintf(os.Stdout, "Response from `ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest 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]
AdminRealmsRealmClientTemplatesClientScopeIdPut(ctx, realm, clientScopeId).ClientScopeRepresentation(clientScopeRepresentation).Execute()
Update the client scope
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!)
clientScopeId := "clientScopeId_example" // string |
clientScopeRepresentation := *openapiclient.NewClientScopeRepresentation() // ClientScopeRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdPut(context.Background(), realm, clientScopeId).ClientScopeRepresentation(clientScopeRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientTemplatesClientScopeIdPut``: %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. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
clientScopeRepresentation | ClientScopeRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ClientScopeRepresentation AdminRealmsRealmClientTemplatesGet(ctx, realm).Execute()
Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm
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!)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientTemplatesGet(context.Background(), realm).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientTemplatesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientTemplatesGet`: []ClientScopeRepresentation
fmt.Fprintf(os.Stdout, "Response from `ClientScopesAPI.AdminRealmsRealmClientTemplatesGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesGetRequest 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]
AdminRealmsRealmClientTemplatesPost(ctx, realm).ClientScopeRepresentation(clientScopeRepresentation).Execute()
Create a new client scope Client Scope’s name must be unique!
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!)
clientScopeRepresentation := *openapiclient.NewClientScopeRepresentation() // ClientScopeRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ClientScopesAPI.AdminRealmsRealmClientTemplatesPost(context.Background(), realm).ClientScopeRepresentation(clientScopeRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClientScopesAPI.AdminRealmsRealmClientTemplatesPost``: %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. | |
realm | string | realm name (not id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
clientScopeRepresentation | ClientScopeRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]