All URIs are relative to https://api.attio.com
| Method | HTTP request | Description |
|---|---|---|
| ScimV2GroupsGet | Get /scim/v2/Groups | List SCIM groups |
| ScimV2GroupsPost | Post /scim/v2/Groups | Create SCIM group |
ScimV2SchemasGet200Response ScimV2GroupsGet(ctx).Execute()
List SCIM groups
package main
import (
"context"
"fmt"
"os"
libattio "github.com/sid6mathur/libattio"
)
func main() {
configuration := libattio.NewConfiguration()
apiClient := libattio.NewAPIClient(configuration)
resp, r, err := apiClient.SCIMGroupsAPI.ScimV2GroupsGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SCIMGroupsAPI.ScimV2GroupsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScimV2GroupsGet`: ScimV2SchemasGet200Response
fmt.Fprintf(os.Stdout, "Response from `SCIMGroupsAPI.ScimV2GroupsGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiScimV2GroupsGetRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimV2GroupsPost201Response ScimV2GroupsPost(ctx).Execute()
Create SCIM group
package main
import (
"context"
"fmt"
"os"
libattio "github.com/sid6mathur/libattio"
)
func main() {
configuration := libattio.NewConfiguration()
apiClient := libattio.NewAPIClient(configuration)
resp, r, err := apiClient.SCIMGroupsAPI.ScimV2GroupsPost(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SCIMGroupsAPI.ScimV2GroupsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScimV2GroupsPost`: ScimV2GroupsPost201Response
fmt.Fprintf(os.Stdout, "Response from `SCIMGroupsAPI.ScimV2GroupsPost`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiScimV2GroupsPostRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]