From b27042e4627fdb20ff3e303b8905884bb92d8e85 Mon Sep 17 00:00:00 2001
From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com>
Date: Fri, 10 Feb 2023 10:55:05 +0100
Subject: [PATCH] Add organization data source
Add docs
---
docs/data-sources/organization.md | 57 +
internal/auth0/organization/data_source.go | 237 +++
.../auth0/organization/data_source_test.go | 156 ++
internal/provider/provider.go | 1 +
.../TestAccDataSourceOrganizationByID.yaml | 1223 ++++++++++++
.../TestAccDataSourceOrganizationByName.yaml | 1763 +++++++++++++++++
6 files changed, 3437 insertions(+)
create mode 100644 docs/data-sources/organization.md
create mode 100644 internal/auth0/organization/data_source.go
create mode 100644 internal/auth0/organization/data_source_test.go
create mode 100644 test/data/recordings/TestAccDataSourceOrganizationByID.yaml
create mode 100644 test/data/recordings/TestAccDataSourceOrganizationByName.yaml
diff --git a/docs/data-sources/organization.md b/docs/data-sources/organization.md
new file mode 100644
index 000000000..8c0bb986c
--- /dev/null
+++ b/docs/data-sources/organization.md
@@ -0,0 +1,57 @@
+---
+page_title: "Data Source: auth0_organization"
+description: |-
+ Data source to retrieve a specific Auth0 organization by organization_id or name.
+---
+
+# Data Source: auth0_organization
+
+Data source to retrieve a specific Auth0 organization by `organization_id` or `name`.
+
+
+
+
+## Schema
+
+### Optional
+
+- `name` (String) The name of the organization. If not provided, `organization_id` must be set.
+- `organization_id` (String) The ID of the organization. If not provided, `name` must be set.
+
+### Read-Only
+
+- `branding` (List of Object) Defines how to style the login pages. (see [below for nested schema](#nestedatt--branding))
+- `connections` (Set of Object) (see [below for nested schema](#nestedatt--connections))
+- `display_name` (String) Friendly name of this organization.
+- `id` (String) The ID of this resource.
+- `members` (Set of Object) (see [below for nested schema](#nestedatt--members))
+- `metadata` (Map of String) Metadata associated with the organization. Maximum of 10 metadata properties allowed.
+
+
+### Nested Schema for `branding`
+
+Read-Only:
+
+- `colors` (Map of String)
+- `logo_url` (String)
+
+
+
+### Nested Schema for `connections`
+
+Read-Only:
+
+- `assign_membership_on_login` (Boolean)
+- `connection_id` (String)
+
+
+
+### Nested Schema for `members`
+
+Read-Only:
+
+- `email` (String)
+- `name` (String)
+- `user_id` (String)
+
+
diff --git a/internal/auth0/organization/data_source.go b/internal/auth0/organization/data_source.go
new file mode 100644
index 000000000..8ffbe615d
--- /dev/null
+++ b/internal/auth0/organization/data_source.go
@@ -0,0 +1,237 @@
+package organization
+
+import (
+ "context"
+ "net/http"
+
+ "github.com/auth0/go-auth0/management"
+ "github.com/hashicorp/go-multierror"
+ "github.com/hashicorp/terraform-plugin-sdk/v2/diag"
+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
+
+ internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema"
+)
+
+// NewDataSource will return a new auth0_organization data source.
+func NewDataSource() *schema.Resource {
+ return &schema.Resource{
+ ReadContext: readOrganizationForDataSource,
+ Description: "Data source to retrieve a specific Auth0 organization by `organization_id` or `name`.",
+ Schema: dataSourceSchema(),
+ }
+}
+
+func dataSourceSchema() map[string]*schema.Schema {
+ dataSourceSchema := internalSchema.TransformResourceToDataSource(NewResource().Schema)
+ dataSourceSchema["organization_id"] = &schema.Schema{
+ Type: schema.TypeString,
+ Optional: true,
+ Description: "The ID of the organization. If not provided, `name` must be set.",
+ AtLeastOneOf: []string{"organization_id", "name"},
+ }
+
+ internalSchema.SetExistingAttributesAsOptional(dataSourceSchema, "name")
+ dataSourceSchema["name"].Description = "The name of the organization. If not provided, `organization_id` must be set."
+ dataSourceSchema["name"].AtLeastOneOf = []string{"organization_id", "name"}
+
+ dataSourceSchema["connections"] = &schema.Schema{
+ Type: schema.TypeSet,
+ Computed: true,
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "connection_id": {
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The ID of the enabled connection on the organization.",
+ },
+ "assign_membership_on_login": {
+ Type: schema.TypeBool,
+ Computed: true,
+ Description: "When `true`, all users that log in with this connection will be " +
+ "automatically granted membership in the organization. When `false`, users must be " +
+ "granted membership in the organization before logging in with this connection.",
+ },
+ },
+ },
+ }
+
+ dataSourceSchema["members"] = &schema.Schema{
+ Type: schema.TypeSet,
+ Computed: true,
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "user_id": {
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The ID of the organization member.",
+ },
+ "name": {
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The name of the organization member.",
+ },
+ "email": {
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The email of the organization member.",
+ },
+ },
+ },
+ }
+
+ return dataSourceSchema
+}
+
+func readOrganizationForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics {
+ api := meta.(*management.Management)
+ var foundOrganization *management.Organization
+ var err error
+
+ organizationID := data.Get("organization_id").(string)
+ if organizationID != "" {
+ foundOrganization, err = api.Organization.Read(organizationID)
+ if err != nil {
+ if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound {
+ data.SetId("")
+ return nil
+ }
+ return diag.FromErr(err)
+ }
+ } else {
+ name := data.Get("name").(string)
+ page := 0
+
+ outerLoop:
+ for {
+ organizations, err := api.Organization.List(management.Page(page))
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ for _, organization := range organizations.Organizations {
+ if organization.GetName() == name {
+ foundOrganization = organization
+ break outerLoop
+ }
+ }
+
+ if !organizations.HasNext() {
+ break
+ }
+
+ page++
+ }
+
+ if foundOrganization == nil {
+ return diag.Errorf("No organization found with \"name\" = %q", name)
+ }
+ }
+
+ data.SetId(foundOrganization.GetID())
+
+ result := multierror.Append(
+ data.Set("name", foundOrganization.GetName()),
+ data.Set("display_name", foundOrganization.GetDisplayName()),
+ data.Set("branding", flattenOrganizationBranding(foundOrganization.GetBranding())),
+ data.Set("metadata", foundOrganization.GetMetadata()),
+ )
+
+ foundConnections, err := fetchAllOrganizationConnections(api, foundOrganization.GetID())
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ result = multierror.Append(
+ result,
+ data.Set("connections", flattenOrganizationConnections(foundConnections)),
+ )
+
+ foundMembers, err := fetchAllOrganizationMembers(api, foundOrganization.GetID())
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ result = multierror.Append(
+ result,
+ data.Set("members", flattenOrganizationMembers(foundMembers)),
+ )
+
+ return diag.FromErr(result.ErrorOrNil())
+}
+
+func fetchAllOrganizationConnections(api *management.Management, organizationID string) ([]*management.OrganizationConnection, error) {
+ var foundConnections []*management.OrganizationConnection
+ var page int
+
+ for {
+ connections, err := api.Organization.Connections(organizationID, management.Page(page))
+ if err != nil {
+ return nil, err
+ }
+
+ foundConnections = append(foundConnections, connections.OrganizationConnections...)
+
+ if !connections.HasNext() {
+ break
+ }
+
+ page++
+ }
+
+ return foundConnections, nil
+}
+
+func fetchAllOrganizationMembers(api *management.Management, organizationID string) ([]management.OrganizationMember, error) {
+ var foundMembers []management.OrganizationMember
+ var page int
+
+ for {
+ members, err := api.Organization.Members(organizationID, management.Page(page))
+ if err != nil {
+ return nil, err
+ }
+
+ foundMembers = append(foundMembers, members.Members...)
+
+ if !members.HasNext() {
+ break
+ }
+
+ page++
+ }
+
+ return foundMembers, nil
+}
+
+func flattenOrganizationConnections(connections []*management.OrganizationConnection) []interface{} {
+ if connections == nil {
+ return nil
+ }
+
+ result := make([]interface{}, len(connections))
+ for index, connection := range connections {
+ result[index] = map[string]interface{}{
+ "connection_id": connection.GetConnectionID(),
+ "assign_membership_on_login": connection.GetAssignMembershipOnLogin(),
+ }
+ }
+
+ return result
+}
+
+func flattenOrganizationMembers(members []management.OrganizationMember) []interface{} {
+ if members == nil {
+ return nil
+ }
+
+ result := make([]interface{}, len(members))
+ for index, member := range members {
+ result[index] = map[string]interface{}{
+ "user_id": member.GetUserID(),
+ "name": member.GetName(),
+ "email": member.GetEmail(),
+ }
+ }
+
+ return result
+}
diff --git a/internal/auth0/organization/data_source_test.go b/internal/auth0/organization/data_source_test.go
new file mode 100644
index 000000000..7fd052021
--- /dev/null
+++ b/internal/auth0/organization/data_source_test.go
@@ -0,0 +1,156 @@
+package organization_test
+
+import (
+ "fmt"
+ "regexp"
+ "strings"
+ "testing"
+
+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
+
+ "github.com/auth0/terraform-provider-auth0/internal/provider"
+ "github.com/auth0/terraform-provider-auth0/internal/recorder"
+ "github.com/auth0/terraform-provider-auth0/internal/template"
+)
+
+const testAccGivenAnOrganizationWithConnectionsAndMembers = `
+resource "auth0_connection" "my_connection" {
+ name = "Acceptance-Test-Connection-{{.testName}}"
+ strategy = "auth0"
+}
+
+resource "auth0_user" "user" {
+ depends_on = [auth0_connection.my_connection]
+
+ username = "testusername"
+ email = "{{.testName}}@auth0.com"
+ connection_name = "Username-Password-Authentication"
+ email_verified = true
+ password = "MyPass123$"
+}
+
+resource "auth0_organization" "my_organization" {
+ depends_on = [auth0_user.user]
+
+ name = "test-{{.testName}}"
+ display_name = "Acme Inc. {{.testName}}"
+}
+
+resource "auth0_organization_connection" "my_org_conn" {
+ depends_on = [auth0_organization.my_organization]
+
+ organization_id = auth0_organization.my_organization.id
+ connection_id = auth0_connection.my_connection.id
+}
+
+resource "auth0_organization_member" "test_member" {
+ depends_on = [auth0_organization_connection.my_org_conn]
+
+ organization_id = auth0_organization.my_organization.id
+ user_id = auth0_user.user.id
+}
+`
+
+const testAccDataSourceOrganizationConfigByName = testAccGivenAnOrganizationWithConnectionsAndMembers + `
+data "auth0_organization" "test" {
+ name = "test-{{.testName}}"
+}
+`
+
+const testAccDataSourceOrganizationConfigByID = testAccGivenAnOrganizationWithConnectionsAndMembers + `
+data "auth0_organization" "test" {
+ organization_id = auth0_organization.my_organization.id
+}
+`
+
+func TestAccDataSourceOrganizationRequiredArguments(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ ProviderFactories: provider.TestFactories(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: `data "auth0_organization" "test" { }`,
+ ExpectError: regexp.MustCompile("one of `connection_id,name` must be specified"),
+ },
+ },
+ })
+}
+
+func TestAccDataSourceOrganizationByName(t *testing.T) {
+ httpRecorder := recorder.New(t)
+ testName := strings.ToLower(t.Name())
+
+ resource.Test(t, resource.TestCase{
+ ProviderFactories: provider.TestFactories(httpRecorder),
+ PreventPostDestroyRefresh: true,
+ Steps: []resource.TestStep{
+ {
+ Config: template.ParseTestName(testAccGivenAnOrganizationWithConnectionsAndMembers, testName),
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttr("auth0_connection.my_connection", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)),
+ resource.TestCheckResourceAttr("auth0_user.user", "email", fmt.Sprintf("%s@auth0.com", testName)),
+ resource.TestCheckResourceAttr("auth0_organization.my_organization", "name", fmt.Sprintf("test-%s", testName)),
+ resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "connection_id"),
+ resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "organization_id"),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"),
+ resource.TestCheckTypeSetElemAttrPair("auth0_organization_member.test_member", "organization_id", "auth0_organization.my_organization", "id"),
+ resource.TestCheckTypeSetElemAttrPair("auth0_organization_member.test_member", "user_id", "auth0_user.user", "id"),
+ ),
+ },
+ {
+ Config: template.ParseTestName(testAccDataSourceOrganizationConfigByName, testName),
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "name", fmt.Sprintf("test-%s", testName)),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "connections.#", "1"),
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "connections.0.connection_id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.#", "1"),
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "members.0.user_id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.0.name", "testaccdatasourceorganizationbyname@auth0.com"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.0.email", "testaccdatasourceorganizationbyname@auth0.com"),
+ ),
+ },
+ },
+ })
+}
+
+func TestAccDataSourceOrganizationByID(t *testing.T) {
+ httpRecorder := recorder.New(t)
+ testName := strings.ToLower(t.Name())
+
+ resource.Test(t, resource.TestCase{
+ ProviderFactories: provider.TestFactories(httpRecorder),
+ PreventPostDestroyRefresh: true,
+ Steps: []resource.TestStep{
+ {
+ Config: template.ParseTestName(testAccGivenAnOrganizationWithConnectionsAndMembers, testName),
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttr("auth0_connection.my_connection", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)),
+ resource.TestCheckResourceAttr("auth0_user.user", "email", fmt.Sprintf("%s@auth0.com", testName)),
+ resource.TestCheckResourceAttr("auth0_organization.my_organization", "name", fmt.Sprintf("test-%s", testName)),
+ resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "connection_id"),
+ resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "organization_id"),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"),
+ resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"),
+ resource.TestCheckTypeSetElemAttrPair("auth0_organization_member.test_member", "organization_id", "auth0_organization.my_organization", "id"),
+ resource.TestCheckTypeSetElemAttrPair("auth0_organization_member.test_member", "user_id", "auth0_user.user", "id"),
+ ),
+ },
+ {
+ Config: template.ParseTestName(testAccDataSourceOrganizationConfigByID, testName),
+ Check: resource.ComposeTestCheckFunc(
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "name", fmt.Sprintf("test-%s", testName)),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "connections.#", "1"),
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "connections.0.connection_id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.#", "1"),
+ resource.TestCheckResourceAttrSet("data.auth0_organization.test", "members.0.user_id"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.0.name", "testaccdatasourceorganizationbyid@auth0.com"),
+ resource.TestCheckResourceAttr("data.auth0_organization.test", "members.0.email", "testaccdatasourceorganizationbyid@auth0.com"),
+ ),
+ },
+ },
+ })
+}
diff --git a/internal/provider/provider.go b/internal/provider/provider.go
index 0f065acc7..ae309fd68 100644
--- a/internal/provider/provider.go
+++ b/internal/provider/provider.go
@@ -112,6 +112,7 @@ func New() *schema.Provider {
"auth0_client": client.NewDataSource(),
"auth0_global_client": client.NewGlobalDataSource(),
"auth0_connection": connection.NewDataSource(),
+ "auth0_organization": organization.NewDataSource(),
"auth0_tenant": newDataTenant(),
},
}
diff --git a/test/data/recordings/TestAccDataSourceOrganizationByID.yaml b/test/data/recordings/TestAccDataSourceOrganizationByID.yaml
new file mode 100644
index 000000000..f89434b44
--- /dev/null
+++ b/test/data/recordings/TestAccDataSourceOrganizationByID.yaml
@@ -0,0 +1,1223 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 91
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 381
+ uncompressed: false
+ body: '{"id":"con_4oUg3d9Slg5qAjH0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 166.2375ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_4oUg3d9Slg5qAjH0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 105.697584ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 176
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"connection":"Username-Password-Authentication","email":"testaccdatasourceorganizationbyid@auth0.com","username":"testusername","password":"MyPass123$","email_verified":true}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 599
+ uncompressed: false
+ body: '{"created_at":"2023-02-10T09:33:30.524Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f6a5246d910ef28e297","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:30.524Z","user_id":"auth0|63e60f6a5246d910ef28e297","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 232.659167ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:30.524Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f6a5246d910ef28e297","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:30.524Z","user_id":"auth0|63e60f6a5246d910ef28e297","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 104.458416ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 104.75925ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 111
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 138
+ uncompressed: false
+ body: '{"name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid","id":"org_93NXDBZuQPWlc9l5"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 109.133667ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_93NXDBZuQPWlc9l5","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 107.429291ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 76
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 179
+ uncompressed: false
+ body: '{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 304.764875ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 104.944792ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 47
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"members":["auth0|63e60f6a5246d910ef28e297"]}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 112.961375ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 100.506334ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_4oUg3d9Slg5qAjH0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 251.756708ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:30.524Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f6a5246d910ef28e297","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:30.524Z","user_id":"auth0|63e60f6a5246d910ef28e297","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 95.708125ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 300.384125ms
+ - id: 14
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_93NXDBZuQPWlc9l5","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 92.104083ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 97.45675ms
+ - id: 16
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 110.701625ms
+ - id: 17
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_4oUg3d9Slg5qAjH0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 108.010792ms
+ - id: 18
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:30.524Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f6a5246d910ef28e297","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:30.524Z","user_id":"auth0|63e60f6a5246d910ef28e297","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 98.246375ms
+ - id: 19
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 106.3475ms
+ - id: 20
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_93NXDBZuQPWlc9l5","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 89.618458ms
+ - id: 21
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections/con_4oUg3d9Slg5qAjH0
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 111.102542ms
+ - id: 22
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_93NXDBZuQPWlc9l5","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 134.52125ms
+ - id: 23
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members/auth0%7C63e60f6a5246d910ef28e297/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 106.034667ms
+ - id: 24
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 124.285583ms
+ - id: 25
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f6a5246d910ef28e297","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 121.528708ms
+ - id: 26
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_93NXDBZuQPWlc9l5","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 105.45675ms
+ - id: 27
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_4oUg3d9Slg5qAjH0","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 114.171208ms
+ - id: 28
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f6a5246d910ef28e297","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 152.331041ms
+ - id: 29
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 47
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"members":["auth0|63e60f6a5246d910ef28e297"]}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/members
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 135.252792ms
+ - id: 30
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5/enabled_connections/con_4oUg3d9Slg5qAjH0
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 114.9065ms
+ - id: 31
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_93NXDBZuQPWlc9l5
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 111.609333ms
+ - id: 32
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f6a5246d910ef28e297
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 118.274666ms
+ - id: 33
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_4oUg3d9Slg5qAjH0
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 41
+ uncompressed: false
+ body: '{"deleted_at":"2023-02-10T09:33:35.813Z"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 202 Accepted
+ code: 202
+ duration: 154.579667ms
diff --git a/test/data/recordings/TestAccDataSourceOrganizationByName.yaml b/test/data/recordings/TestAccDataSourceOrganizationByName.yaml
new file mode 100644
index 000000000..00b246af9
--- /dev/null
+++ b/test/data/recordings/TestAccDataSourceOrganizationByName.yaml
@@ -0,0 +1,1763 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 93
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 385
+ uncompressed: false
+ body: '{"id":"con_wM4ZSHDsPiLItpi7","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 163.132125ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_wM4ZSHDsPiLItpi7","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 152.166625ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 178
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"connection":"Username-Password-Authentication","email":"testaccdatasourceorganizationbyname@auth0.com","username":"testusername","password":"MyPass123$","email_verified":true}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 605
+ uncompressed: false
+ body: '{"created_at":"2023-02-10T09:33:14.611Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f5a5246d910ef28e28b","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:14.611Z","user_id":"auth0|63e60f5a5246d910ef28e28b","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 254.424125ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:14.611Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f5a5246d910ef28e28b","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:14.611Z","user_id":"auth0|63e60f5a5246d910ef28e28b","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 179.033709ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 94.627792ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 115
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 142
+ uncompressed: false
+ body: '{"name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname","id":"org_xcJDbo0OBqjnkTyX"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 102.333625ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 133.337583ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 76
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 181
+ uncompressed: false
+ body: '{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 119.648ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 102.991375ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 47
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"members":["auth0|63e60f5a5246d910ef28e28b"]}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 107.117125ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 136.845792ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_wM4ZSHDsPiLItpi7","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 96.084083ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:14.611Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f5a5246d910ef28e28b","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:14.611Z","user_id":"auth0|63e60f5a5246d910ef28e28b","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 85.665125ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 97.49125ms
+ - id: 14
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 104.06075ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 95.729333ms
+ - id: 16
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 109.6645ms
+ - id: 17
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_wM4ZSHDsPiLItpi7","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 104.977958ms
+ - id: 18
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"organizations":[{"id":"org_3EE9uZhbwdFnOVqj","name":"testing","display_name":"testing"},{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":50,"total":2}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 108.291334ms
+ - id: 19
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 110.772875ms
+ - id: 20
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:14.611Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f5a5246d910ef28e28b","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:14.611Z","user_id":"auth0|63e60f5a5246d910ef28e28b","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 154.340042ms
+ - id: 21
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f5a5246d910ef28e28b","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 117.39175ms
+ - id: 22
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 87.016792ms
+ - id: 23
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 95.063208ms
+ - id: 24
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 106.965042ms
+ - id: 25
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 216.436167ms
+ - id: 26
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"organizations":[{"id":"org_3EE9uZhbwdFnOVqj","name":"testing","display_name":"testing"},{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":50,"total":2}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 90.339958ms
+ - id: 27
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 185.96075ms
+ - id: 28
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f5a5246d910ef28e28b","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 100.998708ms
+ - id: 29
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"organizations":[{"id":"org_3EE9uZhbwdFnOVqj","name":"testing","display_name":"testing"},{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":50,"total":2}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 197.271541ms
+ - id: 30
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 109.005875ms
+ - id: 31
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f5a5246d910ef28e28b","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 98.648042ms
+ - id: 32
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"con_wM4ZSHDsPiLItpi7","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 102.553084ms
+ - id: 33
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"organizations":[{"id":"org_3EE9uZhbwdFnOVqj","name":"testing","display_name":"testing"},{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":50,"total":2}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 110.804375ms
+ - id: 34
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"created_at":"2023-02-10T09:33:14.611Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"63e60f5a5246d910ef28e28b","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-02-10T09:33:14.611Z","user_id":"auth0|63e60f5a5246d910ef28e28b","username":"testusername"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 131.753875ms
+ - id: 35
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 183.029458ms
+ - id: 36
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 113.458209ms
+ - id: 37
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f5a5246d910ef28e28b","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 98.10975ms
+ - id: 38
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 163.975584ms
+ - id: 39
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections/con_wM4ZSHDsPiLItpi7
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 94.913167ms
+ - id: 40
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members/auth0%7C63e60f5a5246d910ef28e28b/roles?include_totals=true&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"roles":[],"start":0,"limit":50,"total":0}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 101.372375ms
+ - id: 41
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"organizations":[{"id":"org_3EE9uZhbwdFnOVqj","name":"testing","display_name":"testing"},{"id":"org_xcJDbo0OBqjnkTyX","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":50,"total":2}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 111.764084ms
+ - id: 42
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"enabled_connections":[{"connection_id":"con_wM4ZSHDsPiLItpi7","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 106.804625ms
+ - id: 43
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 5
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ null
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members?include_totals=true&page=0&per_page=50
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"members":[{"user_id":"auth0|63e60f5a5246d910ef28e28b","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":50,"total":1}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 118.774708ms
+ - id: 44
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 47
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"members":["auth0|63e60f5a5246d910ef28e28b"]}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/members
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 92.753417ms
+ - id: 45
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX/enabled_connections/con_wM4ZSHDsPiLItpi7
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 101.936167ms
+ - id: 46
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_xcJDbo0OBqjnkTyX
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 97.358958ms
+ - id: 47
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63e60f5a5246d910ef28e28b
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 0
+ uncompressed: false
+ body: ""
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 204 No Content
+ code: 204
+ duration: 115.969958ms
+ - id: 48
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0-SDK/0.15.1
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_wM4ZSHDsPiLItpi7
+ method: DELETE
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: 41
+ uncompressed: false
+ body: '{"deleted_at":"2023-02-10T09:33:22.257Z"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 202 Accepted
+ code: 202
+ duration: 748.520625ms