All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
ApiV3SaasIdentRolesGet | Get /api/v3/saas/{ident}/roles | |
ApiV3SaasIdentRolesPost | Post /api/v3/saas/{ident}/roles | |
ApiV3SaasIdentRolesSaasRoleIdDelete | Delete /api/v3/saas/{ident}/roles/{saas_role_id} | |
ApiV3SaasIdentRolesSaasRoleIdPatch | Patch /api/v3/saas/{ident}/roles/{saas_role_id} | |
ApiV3SaasIdentRolesUsersDelete | Delete /api/v3/saas/{ident}/roles/users | |
ApiV3SaasIdentRolesUsersPatch | Patch /api/v3/saas/{ident}/roles/users | |
ApiV3SaasIdentRolesUsersPost | Post /api/v3/saas/{ident}/roles/users | |
ApiV3SaasIdentUsersGet | Get /api/v3/saas/{ident}/users | |
ApiV3SaasIdentUsersPost | Post /api/v3/saas/{ident}/users | |
ApiV3SaasIdentUsersUserIdPost | Post /api/v3/saas/{ident}/users/{user_id} | |
ApiV3SaasUsersActivatePatch | Patch /api/v3/saas_users/activate | |
ApiV3SaasUsersDeactivatePatch | Patch /api/v3/saas_users/deactivate | |
ApiV3SaasUsersGet | Get /api/v3/saas_users |
ApiV3SaasIdentRolesGet(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesGet(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesGet``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesPost(ctx, ident).SaaSCreateRoleObject(saaSCreateRoleObject).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
saaSCreateRoleObject := *openapiclient.NewSaaSCreateRoleObject() // SaaSCreateRoleObject | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesPost(context.Background(), ident).SaaSCreateRoleObject(saaSCreateRoleObject).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesPost``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
saaSCreateRoleObject | SaaSCreateRoleObject | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesSaasRoleIdDelete(ctx, ident, saasRoleId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
saasRoleId := "saasRoleId_example" // string | ID of SaaS Role
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesSaasRoleIdDelete(context.Background(), ident, saasRoleId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesSaasRoleIdDelete``: %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. | |
ident | string | ID of system object (assets, locations, ...) | |
saasRoleId | string | ID of SaaS Role |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesSaasRoleIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesSaasRoleIdPatch(ctx, ident, saasRoleId).SaaSEditRoleObject(saaSEditRoleObject).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
saasRoleId := "saasRoleId_example" // string | ID of SaaS Role
saaSEditRoleObject := *openapiclient.NewSaaSEditRoleObject() // SaaSEditRoleObject | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesSaasRoleIdPatch(context.Background(), ident, saasRoleId).SaaSEditRoleObject(saaSEditRoleObject).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesSaasRoleIdPatch``: %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. | |
ident | string | ID of system object (assets, locations, ...) | |
saasRoleId | string | ID of SaaS Role |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesSaasRoleIdPatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
saaSEditRoleObject | SaaSEditRoleObject | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesUsersDelete(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesUsersDelete(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesUsersDelete``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesUsersDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesUsersPatch(ctx, ident).UsersSaaSRoleUpdateListObject(usersSaaSRoleUpdateListObject).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
usersSaaSRoleUpdateListObject := *openapiclient.NewUsersSaaSRoleUpdateListObject("Users_example", []openapiclient.UsersSaaSRoleUpdateListObjectRolesInner{*openapiclient.NewUsersSaaSRoleUpdateListObjectRolesInner("RoleExternalId_example")}) // UsersSaaSRoleUpdateListObject | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesUsersPatch(context.Background(), ident).UsersSaaSRoleUpdateListObject(usersSaaSRoleUpdateListObject).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesUsersPatch``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesUsersPatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
usersSaaSRoleUpdateListObject | UsersSaaSRoleUpdateListObject | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentRolesUsersPost(ctx, ident).UsersSaaSRolesListObject(usersSaaSRolesListObject).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
usersSaaSRolesListObject := *openapiclient.NewUsersSaaSRolesListObject([]string{"Users_example"}, []string{"Roles_example"}) // UsersSaaSRolesListObject | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentRolesUsersPost(context.Background(), ident).UsersSaaSRolesListObject(usersSaaSRolesListObject).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentRolesUsersPost``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentRolesUsersPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
usersSaaSRolesListObject | UsersSaaSRolesListObject | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentUsersGet(ctx, ident).LastVisit(lastVisit).Roles(roles).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
lastVisit := "lastVisit_example" // string | Filter by last_visit date (optional)
roles := "roles_example" // string | Filter by roles. Exclude users where there are no common roles in the list of required roles and list of user roles (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentUsersGet(context.Background(), ident).LastVisit(lastVisit).Roles(roles).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentUsersGet``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentUsersGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
lastVisit | string | Filter by last_visit date | roles | string | Filter by roles. Exclude users where there are no common roles in the list of required roles and list of user roles |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentUsersPost(ctx, ident).SaaSUserObjectInner(saaSUserObjectInner).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
saaSUserObjectInner := []openapiclient.SaaSUserObjectInner{*openapiclient.NewSaaSUserObjectInner("UserId_example", false)} // []SaaSUserObjectInner | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentUsersPost(context.Background(), ident).SaaSUserObjectInner(saaSUserObjectInner).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentUsersPost``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3SaasIdentUsersPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
saaSUserObjectInner | []SaaSUserObjectInner | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasIdentUsersUserIdPost(ctx, ident, userId).SaaSUserManageObject(saaSUserManageObject).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
userId := "userId_example" // string | ID of User
saaSUserManageObject := *openapiclient.NewSaaSUserManageObject("UserExternalId_example") // SaaSUserManageObject | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasIdentUsersUserIdPost(context.Background(), ident, userId).SaaSUserManageObject(saaSUserManageObject).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasIdentUsersUserIdPost``: %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. | |
ident | string | ID of system object (assets, locations, ...) | |
userId | string | ID of User |
Other parameters are passed through a pointer to a apiApiV3SaasIdentUsersUserIdPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
saaSUserManageObject | SaaSUserManageObject | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]InlineResponse200 ApiV3SaasUsersActivatePatch(ctx).InlineRequest(inlineRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
inlineRequest := *openapiclient.NewInlineRequest() // InlineRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasUsersActivatePatch(context.Background()).InlineRequest(inlineRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasUsersActivatePatch``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV3SaasUsersActivatePatch`: []InlineResponse200
fmt.Fprintf(os.Stdout, "Response from `SaaSUsersApi.ApiV3SaasUsersActivatePatch`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiApiV3SaasUsersActivatePatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
inlineRequest | InlineRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]InlineResponse200 ApiV3SaasUsersDeactivatePatch(ctx).InlineRequest(inlineRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
inlineRequest := *openapiclient.NewInlineRequest() // InlineRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasUsersDeactivatePatch(context.Background()).InlineRequest(inlineRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasUsersDeactivatePatch``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV3SaasUsersDeactivatePatch`: []InlineResponse200
fmt.Fprintf(os.Stdout, "Response from `SaaSUsersApi.ApiV3SaasUsersDeactivatePatch`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiApiV3SaasUsersDeactivatePatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
inlineRequest | InlineRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3SaasUsersGet(ctx).Filter(filter).Text(text).Roles(roles).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
filter := "filter_example" // string | Regular API v3 filter expression (optional)
text := "text_example" // string | Regular API v3 full text search expression (optional)
roles := "roles_example" // string | Filter by roles. Exclude users where there are no common roles in the list of required roles and list of user roles (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SaaSUsersApi.ApiV3SaasUsersGet(context.Background()).Filter(filter).Text(text).Roles(roles).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SaaSUsersApi.ApiV3SaasUsersGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiApiV3SaasUsersGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Regular API v3 filter expression | |
text | string | Regular API v3 full text search expression | |
roles | string | Filter by roles. Exclude users where there are no common roles in the list of required roles and list of user roles |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]