diff --git a/docs/resources/user_permission.md b/docs/resources/user_permission.md index 5439df79d..1a3222644 100644 --- a/docs/resources/user_permission.md +++ b/docs/resources/user_permission.md @@ -69,7 +69,6 @@ Import is supported using the following syntax: # This resource can be imported by specifying the # user ID, resource identifier and permission name separated by "::" (note the double colon) # :::: - # # Example: terraform import auth0_user_permission.permission "auth0|111111111111111111111111::https://api.travel0.com/v1::read:posts" diff --git a/docs/resources/user_role.md b/docs/resources/user_role.md index 10c498db1..14f6ded54 100644 --- a/docs/resources/user_role.md +++ b/docs/resources/user_role.md @@ -59,8 +59,10 @@ resource "auth0_user_role" "user_roles" { Import is supported using the following syntax: ```shell -# This resource can be imported using the user ID. +# This resource can be imported by specifying the +# user ID and role ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_user_role.user_role "auth0|111111111111111111111111" +terraform import auth0_user_role.user_role "auth0|111111111111111111111111::role_123" ``` diff --git a/examples/resources/auth0_user_permission/import.sh b/examples/resources/auth0_user_permission/import.sh index 491da9719..8983d8cf0 100644 --- a/examples/resources/auth0_user_permission/import.sh +++ b/examples/resources/auth0_user_permission/import.sh @@ -1,7 +1,6 @@ # This resource can be imported by specifying the # user ID, resource identifier and permission name separated by "::" (note the double colon) # :::: - # # Example: terraform import auth0_user_permission.permission "auth0|111111111111111111111111::https://api.travel0.com/v1::read:posts" diff --git a/examples/resources/auth0_user_role/import.sh b/examples/resources/auth0_user_role/import.sh index 782e1d1a1..a8b49aafd 100644 --- a/examples/resources/auth0_user_role/import.sh +++ b/examples/resources/auth0_user_role/import.sh @@ -1,4 +1,6 @@ -# This resource can be imported using the user ID. +# This resource can be imported by specifying the +# user ID and role ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_user_role.user_role "auth0|111111111111111111111111" +terraform import auth0_user_role.user_role "auth0|111111111111111111111111::role_123" diff --git a/internal/auth0/role/resource_permissions.go b/internal/auth0/role/resource_permissions.go index 0e0ffc928..64949b0b0 100644 --- a/internal/auth0/role/resource_permissions.go +++ b/internal/auth0/role/resource_permissions.go @@ -66,46 +66,56 @@ func NewPermissionsResource() *schema.Resource { } func upsertRolePermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + if !data.HasChange("permissions") { + return nil + } + api := meta.(*config.Config).GetAPI() mutex := meta.(*config.Config).GetMutex() roleID := data.Get("role_id").(string) - if !data.HasChange("permissions") { - return nil - } - mutex.Lock(roleID) defer mutex.Unlock(roleID) toAdd, toRemove := value.Difference(data, "permissions") - var addPermissions []*management.Permission - for _, addPermission := range toAdd { - permission := addPermission.(map[string]interface{}) - addPermissions = append(addPermissions, &management.Permission{ + var rmPermissions []*management.Permission + for _, rmPermission := range toRemove { + permission := rmPermission.(map[string]interface{}) + rmPermissions = append(rmPermissions, &management.Permission{ Name: auth0.String(permission["name"].(string)), ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), }) } - if len(addPermissions) > 0 { - if err := api.Role.AssociatePermissions(roleID, addPermissions); err != nil { + if len(rmPermissions) > 0 { + if err := api.Role.RemovePermissions(roleID, rmPermissions); err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + data.SetId("") + return nil + } + return diag.FromErr(err) } } - var rmPermissions []*management.Permission - for _, rmPermission := range toRemove { - permission := rmPermission.(map[string]interface{}) - rmPermissions = append(rmPermissions, &management.Permission{ + var addPermissions []*management.Permission + for _, addPermission := range toAdd { + permission := addPermission.(map[string]interface{}) + addPermissions = append(addPermissions, &management.Permission{ Name: auth0.String(permission["name"].(string)), ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), }) } - if len(rmPermissions) > 0 { - if err := api.Role.RemovePermissions(roleID, rmPermissions); err != nil { + if len(addPermissions) > 0 { + if err := api.Role.AssociatePermissions(roleID, addPermissions); err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + data.SetId("") + return nil + } + return diag.FromErr(err) } } @@ -145,6 +155,7 @@ func deleteRolePermissions(_ context.Context, data *schema.ResourceData, meta in defer mutex.Unlock(roleID) permissionsToRemove := data.Get("permissions").(*schema.Set).List() + var rmPermissions []*management.Permission for _, p := range permissionsToRemove { perm := p.(map[string]interface{}) @@ -155,17 +166,13 @@ func deleteRolePermissions(_ context.Context, data *schema.ResourceData, meta in rmPermissions = append(rmPermissions, role) } - if err := api.Role.RemovePermissions( - roleID, - rmPermissions, - ); err != nil { + if err := api.Role.RemovePermissions(roleID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") return nil } + return diag.FromErr(err) } - data.SetId("") return nil } diff --git a/internal/auth0/role/resource_permissions_test.go b/internal/auth0/role/resource_permissions_test.go index 27c8b88c0..586a42289 100644 --- a/internal/auth0/role/resource_permissions_test.go +++ b/internal/auth0/role/resource_permissions_test.go @@ -2,24 +2,58 @@ package role_test import ( "fmt" - "os" "strings" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccRolePermissionNoneAssigned = givenAResourceServerAndARole + ` -data "auth0_role" "role" { - role_id = auth0_role.role.id +const testAccGivenAResourceServerWithTwoScopesAndARole = ` +resource "auth0_resource_server" "resource_server" { + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + + lifecycle { + ignore_changes = [ scopes ] + } +} + +resource "auth0_resource_server_scopes" "my_scopes" { + depends_on = [ auth0_resource_server.resource_server ] + + resource_server_identifier = auth0_resource_server.resource_server.identifier + + scopes { + name = "read:foo" + description = "Can read Foo" + } + + scopes { + name = "create:foo" + description = "Can create Foo" + } +} + +resource "auth0_role" "role" { + depends_on = [ auth0_resource_server_scopes.my_scopes ] + + name = "Acceptance Test - {{.testName}}" + description = "Acceptance Test Role - {{.testName}}" + + lifecycle { + ignore_changes = [ permissions ] + } } ` -const testAccRolePermissionOneAssigned = givenAResourceServerAndARole + ` +const testAccRolePermissionOneAssigned = testAccGivenAResourceServerWithTwoScopesAndARole + ` resource "auth0_role_permissions" "role_permissions" { + depends_on = [ auth0_role.role ] + role_id = auth0_role.role.id permissions { @@ -35,7 +69,7 @@ data "auth0_role" "role" { } ` -const testAccRolePermissionTwoAssigned = givenAResourceServerAndARole + ` +const testAccRolePermissionTwoAssigned = testAccGivenAResourceServerWithTwoScopesAndARole + ` resource "auth0_role_permissions" "role_permissions" { role_id = auth0_role.role.id @@ -57,91 +91,53 @@ data "auth0_role" "role" { } ` -func TestAccRolePermissions(t *testing.T) { - testName := strings.ToLower(t.Name()) +const testAccRolePermissionsRemoveOnePermission = testAccGivenAResourceServerWithTwoScopesAndARole + ` +resource "auth0_role_permissions" "role_permissions" { + role_id = auth0_role.role.id - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccRolePermissionNoneAssigned, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "0"), - ), - }, - { - Config: acctest.ParseTestName(testAccRolePermissionOneAssigned, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "1"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.0.name", "read:foo"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.0.resource_server_identifier", fmt.Sprintf("https://uat.%s.terraform-provider-auth0.com/api", testName)), + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "create:foo" + } +} - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.0.name", "read:foo"), - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.0.resource_server_identifier", fmt.Sprintf("https://uat.%s.terraform-provider-auth0.com/api", testName)), - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.0.resource_server_name", fmt.Sprintf("Acceptance Test - %s", testName)), - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.0.description", "Can read Foo"), - ), - }, - { - Config: acctest.ParseTestName(testAccRolePermissionTwoAssigned, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.1.name", "read:foo"), +data "auth0_role" "role" { + depends_on = [ auth0_role_permissions.role_permissions ] - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "2"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.1.name", "read:foo"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.0.resource_server_identifier", fmt.Sprintf("https://uat.%s.terraform-provider-auth0.com/api", testName)), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.1.resource_server_identifier", fmt.Sprintf("https://uat.%s.terraform-provider-auth0.com/api", testName)), - ), - }, - { - Config: acctest.ParseTestName(testAccRolePermissionOneAssigned, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "1"), - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.0.name", "read:foo"), - ), - }, - { - Config: acctest.ParseTestName(testAccRolePermissionNoneAssigned, testName), - }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "0"), - ), - }, - }, - }) + role_id = auth0_role.role.id } +` -const testAccRolePermissionsImport = ` -resource "auth0_resource_server" "resource_server" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.{{.testName}}.terraform-provider-auth0.com/api" - - scopes { - value = "read:foo" - description = "Can read Foo" - } +const testAccRolePermissionsDeleteResource = testAccGivenAResourceServerWithTwoScopesAndARole + ` +data "auth0_role" "role" { + depends_on = [ auth0_role.role ] - scopes { - value = "create:foo" - description = "Can create Foo" - } + role_id = auth0_role.role.id } +` -resource "auth0_role" "role" { - depends_on = [ auth0_resource_server.resource_server ] +const testAccRolePermissionsImportSetup = testAccGivenAResourceServerWithTwoScopesAndARole + ` +resource "auth0_role_permission" "role_permission_1" { + depends_on = [ auth0_role.role ] - name = "Acceptance Test - {{.testName}}" - description = "Acceptance Test Role - {{.testName}}" + role_id = auth0_role.role.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "read:foo" +} - lifecycle { - ignore_changes = [ permissions ] - } +resource "auth0_role_permission" "role_permission_2" { + depends_on = [ auth0_role_permission.role_permission_1 ] + + role_id = auth0_role.role.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "create:foo" } +` +const testAccRolePermissionsImportCheck = testAccRolePermissionsImportSetup + ` resource "auth0_role_permissions" "role_permissions" { + depends_on = [ auth0_role_permission.role_permission_2 ] + role_id = auth0_role.role.id permissions { @@ -154,47 +150,150 @@ resource "auth0_role_permissions" "role_permissions" { name = "read:foo" } } -` -func TestAccRolePermissionsImport(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // The test runs only with recordings as it requires an initial setup. - t.Skip() - } +data "auth0_role" "role" { + depends_on = [ auth0_role_permissions.role_permissions ] + + role_id = auth0_role.role.id +} +` +func TestAccRolePermissions(t *testing.T) { testName := strings.ToLower(t.Name()) acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccRolePermissionsImport, testName), - ResourceName: "auth0_resource_server.resource_server", - ImportState: true, - ImportStateId: "646cbf5e8ffa2057b6112389", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccRolePermissionOneAssigned, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_role_permissions.role_permissions", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_role.role", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), }, { - Config: acctest.ParseTestName(testAccRolePermissionsImport, testName), - ResourceName: "auth0_role.role", - ImportState: true, - ImportStateId: "rol_y36rul7VuBQGVpNa", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccRolePermissionTwoAssigned, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_role_permissions.role_permissions", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_role_permissions.role_permissions", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_role.role", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_role.role", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), }, { - Config: acctest.ParseTestName(testAccRolePermissionsImport, testName), - ResourceName: "auth0_role_permissions.role_permissions", - ImportState: true, - ImportStateId: "rol_y36rul7VuBQGVpNa", + Config: acctest.ParseTestName(testAccRolePermissionsRemoveOnePermission, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_role_permissions.role_permissions", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_role.role", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), + }, + { + Config: acctest.ParseTestName(testAccRolePermissionsDeleteResource, testName), + }, + { + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "0"), + ), + }, + { + Config: acctest.ParseTestName(testAccRolePermissionsImportSetup, testName), + }, + { + Config: acctest.ParseTestName(testAccRolePermissionsImportCheck, testName), + ResourceName: "auth0_role_permissions.role_permissions", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + return acctest.ExtractResourceAttributeFromState(state, "auth0_role.role", "id") + }, ImportStatePersist: true, }, { + Config: acctest.ParseTestName(testAccRolePermissionsImportCheck, testName), ConfigPlanChecks: resource.ConfigPlanChecks{ PreApply: []plancheck.PlanCheck{ plancheck.ExpectEmptyPlan(), }, }, - Config: acctest.ParseTestName(testAccRolePermissionsImport, testName), Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_role.role", "permissions.#", "2"), resource.TestCheckResourceAttr("auth0_role_permissions.role_permissions", "permissions.#", "2"), ), }, diff --git a/internal/auth0/user/resource.go b/internal/auth0/user/resource.go index 5dab187b6..269f50585 100644 --- a/internal/auth0/user/resource.go +++ b/internal/auth0/user/resource.go @@ -265,7 +265,11 @@ func createUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag d.SetId(user.GetID()) - if err = persistUserRoles(d, api); err != nil { + if err = persistUserRoles(d, m); err != nil { + if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { + return readUser(ctx, d, m) + } + return diag.FromErr(err) } @@ -289,8 +293,12 @@ func updateUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag } } - if err = persistUserRoles(d, api); err != nil { - return diag.Errorf("failed assigning user roles. %s", err) + if err = persistUserRoles(d, m); err != nil { + if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { + return readUser(ctx, d, m) + } + + return diag.FromErr(err) } return readUser(ctx, d, m) @@ -473,21 +481,21 @@ func validateNoPasswordAndEmailVerifiedSimultaneously() validateUserFunc { } } -func persistUserRoles(d *schema.ResourceData, api *management.Management) error { +func persistUserRoles(d *schema.ResourceData, meta interface{}) error { if !d.HasChange("roles") { return nil } rolesToAdd, rolesToRemove := value.Difference(d, "roles") - if err := removeUserRoles(api, d.Id(), rolesToRemove); err != nil { + if err := removeUserRoles(meta, d.Id(), rolesToRemove); err != nil { return err } - return assignUserRoles(api, d.Id(), rolesToAdd) + return assignUserRoles(meta, d.Id(), rolesToAdd) } -func removeUserRoles(api *management.Management, userID string, userRolesToRemove []interface{}) error { +func removeUserRoles(meta interface{}, userID string, userRolesToRemove []interface{}) error { if len(userRolesToRemove) == 0 { return nil } @@ -498,18 +506,16 @@ func removeUserRoles(api *management.Management, userID string, userRolesToRemov rmRoles = append(rmRoles, role) } - err := api.User.RemoveRoles(userID, rmRoles) - if err != nil { - // Ignore 404 errors as the role may have been deleted prior to un-assigning them from the user. - if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - return nil - } - } + api := meta.(*config.Config).GetAPI() + mutex := meta.(*config.Config).GetMutex() - return err + mutex.Lock(userID) + defer mutex.Unlock(userID) + + return api.User.RemoveRoles(userID, rmRoles) } -func assignUserRoles(api *management.Management, userID string, userRolesToAdd []interface{}) error { +func assignUserRoles(meta interface{}, userID string, userRolesToAdd []interface{}) error { if len(userRolesToAdd) == 0 { return nil } @@ -521,6 +527,12 @@ func assignUserRoles(api *management.Management, userID string, userRolesToAdd [ addRoles = append(addRoles, role) } + api := meta.(*config.Config).GetAPI() + mutex := meta.(*config.Config).GetMutex() + + mutex.Lock(userID) + defer mutex.Unlock(userID) + return api.User.AssignRoles(userID, addRoles) } diff --git a/internal/auth0/user/resource_permission.go b/internal/auth0/user/resource_permission.go index 90d2b427f..e5bfc8b13 100644 --- a/internal/auth0/user/resource_permission.go +++ b/internal/auth0/user/resource_permission.go @@ -2,7 +2,6 @@ package user import ( "context" - "fmt" "net/http" "github.com/auth0/go-auth0/management" @@ -74,10 +73,14 @@ func createUserPermission(ctx context.Context, data *schema.ResourceData, meta i Name: &permissionName, }, }); err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + return nil + } + return diag.FromErr(err) } - data.SetId(fmt.Sprintf(`%s::%s::%s`, userID, resourceServerID, permissionName)) + data.SetId(userID + internalSchema.SeparatorDoubleColon + resourceServerID + internalSchema.SeparatorDoubleColon + permissionName) return readUserPermission(ctx, data, meta) } @@ -95,6 +98,7 @@ func readUserPermission(_ context.Context, data *schema.ResourceData, meta inter data.SetId("") return nil } + return diag.FromErr(err) } @@ -104,6 +108,7 @@ func readUserPermission(_ context.Context, data *schema.ResourceData, meta inter data.Set("description", p.GetDescription()), data.Set("resource_server_name", p.GetResourceServerName()), ) + return diag.FromErr(result.ErrorOrNil()) } } @@ -133,12 +138,11 @@ func deleteUserPermission(_ context.Context, data *schema.ResourceData, meta int }, ); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") return nil } + return diag.FromErr(err) } - data.SetId("") return nil } diff --git a/internal/auth0/user/resource_permission_test.go b/internal/auth0/user/resource_permission_test.go index 82347cca0..3efc99cf3 100644 --- a/internal/auth0/user/resource_permission_test.go +++ b/internal/auth0/user/resource_permission_test.go @@ -1,124 +1,212 @@ package user_test import ( + "fmt" "strings" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" + "github.com/stretchr/testify/assert" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const givenAResourceServerAndUser = ` -resource "auth0_resource_server" "resource_server" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - scopes { - value = "read:foo" - description = "Can read Foo" - } - scopes { - value = "create:foo" - description = "Can create Foo" - } +const testAccUserPermissionWithOnePermissionAssigned = testAccGivenAResourceServerWithTwoScopesAndAUser + ` +resource "auth0_user_permission" "user_permission_read" { + depends_on = [ auth0_user.user ] + + user_id = auth0_user.user.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "read:foo" } -resource "auth0_user" "user" { - depends_on = [ auth0_resource_server.resource_server ] - connection_name = "Username-Password-Authentication" - user_id = "{{.testName}}" - username = "{{.testName}}" - password = "passpass$12$12" - email = "{{.testName}}@acceptance.test.com" +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permission.user_permission_read ] + + user_id = auth0_user.user.id } ` -const givenAUserPermission = ` +const testAccUserPermissionWithTwoPermissionsAssigned = testAccGivenAResourceServerWithTwoScopesAndAUser + ` resource "auth0_user_permission" "user_permission_read" { - depends_on = [ auth0_resource_server.resource_server, auth0_user.user ] + depends_on = [ auth0_user.user ] - user_id = auth0_user.user.id + user_id = auth0_user.user.id resource_server_identifier = auth0_resource_server.resource_server.identifier - permission = "read:foo" + permission = "read:foo" } -` -const givenAnotherUserPermission = ` resource "auth0_user_permission" "user_permission_create" { - depends_on = [ auth0_resource_server.resource_server, auth0_user.user ] + depends_on = [ auth0_user_permission.user_permission_read ] - user_id = auth0_user.user.id + user_id = auth0_user.user.id resource_server_identifier = auth0_resource_server.resource_server.identifier - permission = "create:foo" + permission = "create:foo" +} + +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permission.user_permission_create ] + + user_id = auth0_user.user.id } ` -const testAccUserPermissionNoneAssigned = givenAResourceServerAndUser -const testAccUserPermissionOneAssigned = givenAResourceServerAndUser + givenAUserPermission -const testAccUserPermissionTwoAssigned = givenAResourceServerAndUser + givenAUserPermission + givenAnotherUserPermission +const testAccUserPermissionImportSetup = testAccGivenAResourceServerWithTwoScopesAndAUser + ` +resource "auth0_user_permissions" "user_permissions" { + depends_on = [ auth0_user.user ] + + user_id = auth0_user.user.id + + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "read:foo" + } + + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "create:foo" + } +} +` + +const testAccUserPermissionImportCheck = testAccUserPermissionImportSetup + ` +resource "auth0_user_permission" "user_permission_read" { + depends_on = [ auth0_user.user ] + + user_id = auth0_user.user.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "read:foo" +} + +resource "auth0_user_permission" "user_permission_create" { + depends_on = [ auth0_user_permission.user_permission_read ] + + user_id = auth0_user.user.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "create:foo" +} + +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permission.user_permission_create ] + + user_id = auth0_user.user.id +} +` func TestAccUserPermission(t *testing.T) { + testName := strings.ToLower(t.Name()) acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccUserPermissionNoneAssigned, strings.ToLower(t.Name())), + Config: acctest.ParseTestName(testAccUserPermissionWithOnePermissionAssigned, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "permission", "read:foo"), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "user_id", fmt.Sprintf("auth0|%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_name", fmt.Sprintf("Acceptance Test - %s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "description", "Can read Foo"), ), }, { - Config: acctest.ParseTestName(testAccUserPermissionOneAssigned, strings.ToLower(t.Name())), - }, - { - RefreshState: true, + Config: acctest.ParseTestName(testAccUserPermissionWithTwoPermissionsAssigned, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "read:foo"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_name", "Acceptance Test - testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.description", "Can read Foo"), - + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "permission", "read:foo"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "user_id", "auth0|testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_name", "Acceptance Test - testaccuserpermission"), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "user_id", fmt.Sprintf("auth0|%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "resource_server_name", fmt.Sprintf("Acceptance Test - %s", testName)), resource.TestCheckResourceAttr("auth0_user_permission.user_permission_read", "description", "Can read Foo"), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "permission", "create:foo"), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "user_id", fmt.Sprintf("auth0|%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "resource_server_identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "resource_server_name", fmt.Sprintf("Acceptance Test - %s", testName)), + resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "description", "Can create Foo"), ), }, { - Config: acctest.ParseTestName(testAccUserPermissionTwoAssigned, strings.ToLower(t.Name())), + Config: acctest.ParseTestName(testAccUserPermissionsDeleteResource, testName), }, { RefreshState: true, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "2"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.1.name", "read:foo"), - - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "permission", "create:foo"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "user_id", "auth0|testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "resource_server_name", "Acceptance Test - testaccuserpermission"), - resource.TestCheckResourceAttr("auth0_user_permission.user_permission_create", "description", "Can create Foo"), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "0"), ), }, { - Config: acctest.ParseTestName(testAccUserPermissionOneAssigned, strings.ToLower(t.Name())), + Config: acctest.ParseTestName(testAccUserPermissionImportSetup, testName), }, { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "read:foo"), - ), + Config: acctest.ParseTestName(testAccUserPermissionImportCheck, testName), + ResourceName: "auth0_user_permission.user_permission_read", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + assert.NoError(t, err) + + apiID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_resource_server.resource_server", "identifier") + assert.NoError(t, err) + + return userID + "::" + apiID + "::" + "read:foo", nil + }, + ImportStatePersist: true, }, { - Config: acctest.ParseTestName(testAccUserPermissionNoneAssigned, strings.ToLower(t.Name())), + Config: acctest.ParseTestName(testAccUserPermissionImportCheck, testName), + ResourceName: "auth0_user_permission.user_permission_create", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + assert.NoError(t, err) + + apiID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_resource_server.resource_server", "identifier") + assert.NoError(t, err) + + return userID + "::" + apiID + "::" + "create:foo", nil + }, + ImportStatePersist: true, }, { - RefreshState: true, + Config: acctest.ParseTestName(testAccUserPermissionImportCheck, testName), + ConfigPlanChecks: resource.ConfigPlanChecks{ + PreApply: []plancheck.PlanCheck{ + plancheck.ExpectEmptyPlan(), + }, + }, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "2"), ), }, }, diff --git a/internal/auth0/user/resource_permissions.go b/internal/auth0/user/resource_permissions.go index 2eea0d396..601916a15 100644 --- a/internal/auth0/user/resource_permissions.go +++ b/internal/auth0/user/resource_permissions.go @@ -66,46 +66,56 @@ func NewPermissionsResource() *schema.Resource { } func upsertUserPermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + if !data.HasChange("permissions") { + return nil + } + api := meta.(*config.Config).GetAPI() mutex := meta.(*config.Config).GetMutex() userID := data.Get("user_id").(string) - if !data.HasChange("permissions") { - return nil - } - mutex.Lock(userID) defer mutex.Unlock(userID) toAdd, toRemove := value.Difference(data, "permissions") - var addPermissions []*management.Permission - for _, addPermission := range toAdd { - permission := addPermission.(map[string]interface{}) - addPermissions = append(addPermissions, &management.Permission{ + var rmPermissions []*management.Permission + for _, rmPermission := range toRemove { + permission := rmPermission.(map[string]interface{}) + rmPermissions = append(rmPermissions, &management.Permission{ Name: auth0.String(permission["name"].(string)), ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), }) } - if len(addPermissions) > 0 { - if err := api.User.AssignPermissions(userID, addPermissions); err != nil { + if len(rmPermissions) > 0 { + if err := api.User.RemovePermissions(userID, rmPermissions); err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + data.SetId("") + return nil + } + return diag.FromErr(err) } } - var rmPermissions []*management.Permission - for _, rmPermission := range toRemove { - permission := rmPermission.(map[string]interface{}) - rmPermissions = append(rmPermissions, &management.Permission{ + var addPermissions []*management.Permission + for _, addPermission := range toAdd { + permission := addPermission.(map[string]interface{}) + addPermissions = append(addPermissions, &management.Permission{ Name: auth0.String(permission["name"].(string)), ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), }) } - if len(rmPermissions) > 0 { - if err := api.User.RemovePermissions(userID, rmPermissions); err != nil { + if len(addPermissions) > 0 { + if err := api.User.AssignPermissions(userID, addPermissions); err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + data.SetId("") + return nil + } + return diag.FromErr(err) } } @@ -124,6 +134,7 @@ func readUserPermissions(_ context.Context, data *schema.ResourceData, meta inte data.SetId("") return nil } + return diag.FromErr(err) } @@ -144,33 +155,24 @@ func deleteUserPermissions(_ context.Context, data *schema.ResourceData, meta in mutex.Lock(userID) defer mutex.Unlock(userID) - permissions, err := api.User.Permissions(userID) - if err != nil { - if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") - return nil - } - return diag.FromErr(err) - } + permissions := data.Get("permissions").(*schema.Set).List() var rmPermissions []*management.Permission - for _, rmPermission := range permissions.Permissions { + for _, rmPermission := range permissions { + permission := rmPermission.(map[string]interface{}) rmPermissions = append(rmPermissions, &management.Permission{ - Name: auth0.String(rmPermission.GetName()), - ResourceServerIdentifier: auth0.String(rmPermission.GetResourceServerIdentifier()), + Name: auth0.String(permission["name"].(string)), + ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), }) } - if err := api.User.RemovePermissions( - userID, - rmPermissions, - ); err != nil { + + if err := api.User.RemovePermissions(userID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") return nil } + return diag.FromErr(err) } - data.SetId("") return nil } diff --git a/internal/auth0/user/resource_permissions_test.go b/internal/auth0/user/resource_permissions_test.go index 347731f05..0d2e022e7 100644 --- a/internal/auth0/user/resource_permissions_test.go +++ b/internal/auth0/user/resource_permissions_test.go @@ -1,203 +1,301 @@ package user_test import ( - "os" + "fmt" "strings" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccUserPermissionsNoneAssigned = givenAResourceServerAndUser +const testAccGivenAResourceServerWithTwoScopesAndAUser = ` +resource "auth0_resource_server" "resource_server" { + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + + lifecycle { + ignore_changes = [ scopes ] + } +} + +resource "auth0_resource_server_scopes" "my_scopes" { + depends_on = [ auth0_resource_server.resource_server ] + + resource_server_identifier = auth0_resource_server.resource_server.identifier + + scopes { + name = "read:foo" + description = "Can read Foo" + } + + scopes { + name = "create:foo" + description = "Can create Foo" + } +} -const testAccUserPermissionsOneAssigned = givenAResourceServerAndUser + ` +resource "auth0_user" "user" { + depends_on = [ auth0_resource_server_scopes.my_scopes ] + + connection_name = "Username-Password-Authentication" + user_id = "{{.testName}}" + password = "passpass$12$12" + email = "{{.testName}}@acceptance.test.com" +} +` + +const testAccUserPermissionsOneAssigned = testAccGivenAResourceServerWithTwoScopesAndAUser + ` resource "auth0_user_permissions" "user_permissions" { - depends_on = [ auth0_resource_server.resource_server, auth0_user.user ] + depends_on = [ auth0_user.user ] user_id = auth0_user.user.id permissions { resource_server_identifier = auth0_resource_server.resource_server.identifier - name = "read:foo" + name = "read:foo" } } + +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permissions.user_permissions ] + + user_id = auth0_user.user.id +} ` -const testAccUserPermissionsTwoAssigned = givenAResourceServerAndUser + ` +const testAccUserPermissionsTwoAssigned = testAccGivenAResourceServerWithTwoScopesAndAUser + ` resource "auth0_user_permissions" "user_permissions" { - depends_on = [ auth0_resource_server.resource_server, auth0_user.user ] + depends_on = [ auth0_user.user ] user_id = auth0_user.user.id permissions { resource_server_identifier = auth0_resource_server.resource_server.identifier - name = "read:foo" + name = "read:foo" } + permissions { resource_server_identifier = auth0_resource_server.resource_server.identifier - name = "create:foo" + name = "create:foo" } } + +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permissions.user_permissions ] + + user_id = auth0_user.user.id +} ` -func TestAccUserPermissions(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccUserPermissionsNoneAssigned, strings.ToLower(t.Name())), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), - ), - }, - { - Config: acctest.ParseTestName(testAccUserPermissionsOneAssigned, strings.ToLower(t.Name())), - }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "read:foo"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_name", "Acceptance Test - testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.description", "Can read Foo"), - - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.0.name", "read:foo"), - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.0.resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.0.resource_server_name", "Acceptance Test - testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.0.description", "Can read Foo"), - ), - }, - { - Config: acctest.ParseTestName(testAccUserPermissionsTwoAssigned, strings.ToLower(t.Name())), - }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "2"), - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.1.name", "read:foo"), +const testAccUserPermissionsRemoveOnePermission = testAccGivenAResourceServerWithTwoScopesAndAUser + ` +resource "auth0_user_permissions" "user_permissions" { + depends_on = [ auth0_user.user ] - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "2"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.1.name", "read:foo"), + user_id = auth0_user.user.id - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "create:foo"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_identifier", "https://uat.api.terraform-provider-auth0.com/testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.resource_server_name", "Acceptance Test - testaccuserpermissions"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.description", "Can create Foo"), - ), - }, - { - Config: acctest.ParseTestName(testAccUserPermissionsOneAssigned, strings.ToLower(t.Name())), - }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.0.name", "read:foo"), - ), - }, - { - Config: acctest.ParseTestName(testAccUserPermissionsNoneAssigned, strings.ToLower(t.Name())), - }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), - ), - }, - }, - }) + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "create:foo" + } } -const testAccUserPermissionsImport = ` -resource "auth0_resource_server" "resource_server" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permissions.user_permissions ] - scopes { - value = "read:foo" - description = "Can read Foo" - } + user_id = auth0_user.user.id +} +` - scopes { - value = "create:foo" - description = "Can create Foo" - } +const testAccUserPermissionsDeleteResource = testAccGivenAResourceServerWithTwoScopesAndAUser + ` +data "auth0_user" "user_data" { + depends_on = [ auth0_user.user ] + + user_id = auth0_user.user.id } +` -resource "auth0_user" "user" { - depends_on = [ auth0_resource_server.resource_server ] +const testAccUserPermissionsImportSetup = testAccGivenAResourceServerWithTwoScopesAndAUser + ` +resource "auth0_user_permission" "user_permission_1" { + depends_on = [ auth0_user.user ] - connection_name = "Username-Password-Authentication" - password = "passpass$12$12" - email = "{{.testName}}@acceptance.test.com" + user_id = auth0_user.user.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "read:foo" +} - lifecycle { - ignore_changes = [ connection_name, password ] - } +resource "auth0_user_permission" "user_permission_2" { + depends_on = [ auth0_user_permission.user_permission_1 ] + + user_id = auth0_user.user.id + resource_server_identifier = auth0_resource_server.resource_server.identifier + permission = "create:foo" } +` +const testAccUserPermissionsImportCheck = testAccUserPermissionsImportSetup + ` resource "auth0_user_permissions" "user_permissions" { - depends_on = [ auth0_resource_server.resource_server, auth0_user.user ] + depends_on = [ auth0_user_permission.user_permission_2 ] user_id = auth0_user.user.id permissions { resource_server_identifier = auth0_resource_server.resource_server.identifier - name = "read:foo" + name = "read:foo" } permissions { resource_server_identifier = auth0_resource_server.resource_server.identifier - name = "create:foo" + name = "create:foo" } } -` -func TestAccUserPermissionsImport(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // The test runs only with recordings as it requires an initial setup. - t.Skip() - } +data "auth0_user" "user_data" { + depends_on = [ auth0_user_permissions.user_permissions ] + + user_id = auth0_user.user.id +} +` +func TestAccUserPermissions(t *testing.T) { testName := strings.ToLower(t.Name()) acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccUserPermissionsImport, testName), - ResourceName: "auth0_resource_server.resource_server", - ImportState: true, - ImportStateId: "646cad063390a55e156ee4cd", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccUserPermissionsOneAssigned, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_user_permissions.user_permissions", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), }, { - Config: acctest.ParseTestName(testAccUserPermissionsImport, testName), - ResourceName: "auth0_user.user", - ImportState: true, - ImportStateId: "auth0|646cad06363aac78e30fc478", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccUserPermissionsTwoAssigned, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_user_permissions.user_permissions", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_user_permissions.user_permissions", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "read:foo", + "description": "Can read Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), + }, + { + Config: acctest.ParseTestName(testAccUserPermissionsRemoveOnePermission, testName), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "auth0_user_permissions.user_permissions", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs( + "data.auth0_user.user_data", + "permissions.*", + map[string]string{ + "name": "create:foo", + "description": "Can create Foo", + "resource_server_identifier": fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName), + "resource_server_name": fmt.Sprintf("Acceptance Test - %s", testName), + }, + ), + ), + }, + { + Config: acctest.ParseTestName(testAccUserPermissionsDeleteResource, testName), }, { - Config: acctest.ParseTestName(testAccUserPermissionsImport, testName), - ResourceName: "auth0_user_permissions.user_permissions", - ImportState: true, - ImportStateId: "auth0|646cad06363aac78e30fc478", + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "0"), + ), + }, + { + Config: acctest.ParseTestName(testAccUserPermissionsImportSetup, testName), + }, + { + Config: acctest.ParseTestName(testAccUserPermissionsImportCheck, testName), + ResourceName: "auth0_user_permissions.user_permissions", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + return acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + }, ImportStatePersist: true, }, { + Config: acctest.ParseTestName(testAccUserPermissionsImportCheck, testName), ConfigPlanChecks: resource.ConfigPlanChecks{ PreApply: []plancheck.PlanCheck{ plancheck.ExpectEmptyPlan(), }, }, - Config: acctest.ParseTestName(testAccUserPermissionsImport, testName), Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "permissions.#", "2"), resource.TestCheckResourceAttr("auth0_user_permissions.user_permissions", "permissions.#", "2"), ), }, diff --git a/internal/auth0/user/resource_role.go b/internal/auth0/user/resource_role.go index decd8e09c..552d467ae 100644 --- a/internal/auth0/user/resource_role.go +++ b/internal/auth0/user/resource_role.go @@ -10,6 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/auth0/terraform-provider-auth0/internal/config" + internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) // NewRoleResource will return a new auth0_user_role (1:1) resource. @@ -46,7 +47,7 @@ func NewRoleResource() *schema.Resource { ReadContext: readUserRole, DeleteContext: deleteUserRole, Importer: &schema.ResourceImporter{ - StateContext: schema.ImportStatePassthroughContext, + StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "user_id", "role_id"), }, Description: "With this resource, you can manage assigned roles for a user.", } @@ -57,21 +58,21 @@ func createUserRole(ctx context.Context, data *schema.ResourceData, meta interfa mutex := meta.(*config.Config).GetMutex() userID := data.Get("user_id").(string) - data.SetId(userID) + roleID := data.Get("role_id").(string) mutex.Lock(userID) defer mutex.Unlock(userID) - roleID := data.Get("role_id").(string) if err := api.User.AssignRoles(userID, []*management.Role{{ID: &roleID}}); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") return nil } return diag.FromErr(err) } + data.SetId(userID + internalSchema.SeparatorDoubleColon + roleID) + return readUserRole(ctx, data, meta) } @@ -97,6 +98,7 @@ func readUserRole(_ context.Context, data *schema.ResourceData, meta interface{} data.Set("role_name", role.GetName()), data.Set("role_description", role.GetDescription()), ) + return diag.FromErr(result.ErrorOrNil()) } } @@ -110,21 +112,18 @@ func deleteUserRole(_ context.Context, data *schema.ResourceData, meta interface mutex := meta.(*config.Config).GetMutex() userID := data.Get("user_id").(string) + roleID := data.Get("role_id").(string) mutex.Lock(userID) defer mutex.Unlock(userID) - roleID := data.Get("role_id").(string) if err := api.User.RemoveRoles(userID, []*management.Role{{ID: &roleID}}); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") return nil } return diag.FromErr(err) } - data.SetId("") - return nil } diff --git a/internal/auth0/user/resource_role_test.go b/internal/auth0/user/resource_role_test.go index 1a72ed055..465f44633 100644 --- a/internal/auth0/user/resource_role_test.go +++ b/internal/auth0/user/resource_role_test.go @@ -5,94 +5,81 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" + "github.com/stretchr/testify/assert" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const updateUserWithOneRoleAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} +const updateUserWithOneRoleAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_role" "user_role-1" { + depends_on = [ auth0_user.user ] -resource auth0_user user { - depends_on = [auth0_role.owner] + user_id = auth0_user.user.id + role_id = auth0_role.owner.id +} - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +data "auth0_user" "user_data" { + depends_on = [ auth0_user_role.user_role-1 ] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id } +` -resource auth0_user_role user_role-1 { +const updateUserWithTwoRolesAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_role" "user_role-1" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id role_id = auth0_role.owner.id } -data auth0_user user_data { +resource "auth0_user_role" "user_role-2" { depends_on = [ auth0_user_role.user_role-1 ] user_id = auth0_user.user.id + role_id = auth0_role.admin.id } -` -const updateUserWithTwoRolesAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} +data "auth0_user" "user_data" { + depends_on = [ auth0_user_role.user_role-2 ] -resource auth0_role admin { - name = "admin" - description = "Administrator" + user_id = auth0_user.user.id } +` -resource auth0_user user { - depends_on = [auth0_role.owner, auth0_role.admin] - - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +const testAccUserRoleImportSetup = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user.user ] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id + roles = [ auth0_role.owner.id, auth0_role.admin.id ] } +` -resource auth0_user_role user_role-1 { - depends_on = [ auth0_user.user ] +const testAccUserRoleImportCheck = testAccUserRoleImportSetup + ` +resource "auth0_user_role" "user_role-1" { + depends_on = [ auth0_user_roles.user_roles ] user_id = auth0_user.user.id role_id = auth0_role.owner.id } -resource auth0_user_role user_role-2 { +resource "auth0_user_role" "user_role-2" { depends_on = [ auth0_user_role.user_role-1 ] user_id = auth0_user.user.id role_id = auth0_role.admin.id } -data auth0_user user_data { +data "auth0_user" "user_data" { depends_on = [ auth0_user_role.user_role-2 ] user_id = auth0_user.user.id } ` -const removeAssignedRolesFromUser = ` -resource auth0_user user { - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" -} -` - func TestAccUserRole(t *testing.T) { testName := strings.ToLower(t.Name()) @@ -104,8 +91,8 @@ func TestAccUserRole(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "1"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-1", "user_id"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-1", "role_id"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_name", "owner"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_description", "Owner"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_name", "test-owner"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_description", "Test Owner"), ), }, { @@ -114,18 +101,65 @@ func TestAccUserRole(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "2"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-1", "user_id"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-1", "role_id"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_name", "owner"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_description", "Owner"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_name", "test-owner"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-1", "role_description", "Test Owner"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-2", "user_id"), resource.TestCheckResourceAttrSet("auth0_user_role.user_role-2", "role_id"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-2", "role_name", "admin"), - resource.TestCheckResourceAttr("auth0_user_role.user_role-2", "role_description", "Administrator"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-2", "role_name", "test-admin"), + resource.TestCheckResourceAttr("auth0_user_role.user_role-2", "role_description", "Test Administrator"), ), }, { - Config: acctest.ParseTestName(removeAssignedRolesFromUser, testName), + Config: acctest.ParseTestName(testAccUserRolesDeleteResource, testName), + }, + { + RefreshState: true, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "0"), + ), + }, + { + Config: acctest.ParseTestName(testAccUserRoleImportSetup, testName), + }, + { + Config: acctest.ParseTestName(testAccUserRoleImportCheck, testName), + ResourceName: "auth0_user_role.user_role-1", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + assert.NoError(t, err) + + roleID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_role.owner", "id") + assert.NoError(t, err) + + return userID + "::" + roleID, nil + }, + ImportStatePersist: true, + }, + { + Config: acctest.ParseTestName(testAccUserRoleImportCheck, testName), + ResourceName: "auth0_user_role.user_role-2", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + assert.NoError(t, err) + + roleID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_role.admin", "id") + assert.NoError(t, err) + + return userID + "::" + roleID, nil + }, + ImportStatePersist: true, + }, + { + Config: acctest.ParseTestName(testAccUserRoleImportCheck, testName), + ConfigPlanChecks: resource.ConfigPlanChecks{ + PreApply: []plancheck.PlanCheck{ + plancheck.ExpectEmptyPlan(), + }, + }, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "2"), ), }, }, diff --git a/internal/auth0/user/resource_roles.go b/internal/auth0/user/resource_roles.go index ee9360dca..2d851a299 100644 --- a/internal/auth0/user/resource_roles.go +++ b/internal/auth0/user/resource_roles.go @@ -45,16 +45,15 @@ func NewRolesResource() *schema.Resource { } func upsertUserRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - mutex := meta.(*config.Config).GetMutex() - userID := data.Get("user_id").(string) data.SetId(userID) - mutex.Lock(userID) - defer mutex.Unlock(userID) + if err := persistUserRoles(data, meta); err != nil { + if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { + data.SetId("") + return nil + } - if err := persistUserRoles(data, api); err != nil { return diag.FromErr(err) } @@ -91,9 +90,7 @@ func deleteUserRoles(_ context.Context, data *schema.ResourceData, meta interfac api := meta.(*config.Config).GetAPI() mutex := meta.(*config.Config).GetMutex() - userID := data.Get("user_id").(string) - data.SetId(userID) - + userID := data.Id() mutex.Lock(userID) defer mutex.Unlock(userID) @@ -106,14 +103,11 @@ func deleteUserRoles(_ context.Context, data *schema.ResourceData, meta interfac if err := api.User.RemoveRoles(userID, rmRoles); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - data.SetId("") return nil } return diag.FromErr(err) } - data.SetId("") - return nil } diff --git a/internal/auth0/user/resource_roles_test.go b/internal/auth0/user/resource_roles_test.go index 824a6ab3b..5e9758e54 100644 --- a/internal/auth0/user/resource_roles_test.go +++ b/internal/auth0/user/resource_roles_test.go @@ -1,115 +1,123 @@ package user_test import ( - "os" "strings" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccUserRolesUpdateUserWithOneRoleAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" +const testAccGivenTwoRolesAndAUser = ` +resource "auth0_role" "owner" { + name = "test-owner" + description = "Test Owner" } -resource auth0_user user { - depends_on = [auth0_role.owner] +resource "auth0_role" "admin" { + depends_on = [ auth0_role.owner ] + + name = "test-admin" + description = "Test Administrator" +} + +resource "auth0_user" "user" { + depends_on = [ auth0_role.admin ] connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" + email = "{{.testName}}@acceptance.test.com" + password = "passpass$12$12" lifecycle { ignore_changes = [roles] } } +` -resource auth0_user_roles user_roles { +const testAccUserRolesUpdateUserWithOneRoleAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [auth0_role.owner.id] + roles = [ auth0_role.owner.id ] } -data auth0_user user_data { - depends_on = [auth0_user_roles.user_roles] +data "auth0_user" "user_data" { + depends_on = [ auth0_user_roles.user_roles ] user_id = auth0_user.user.id } ` -const testAccUserRolesUpdateUserWithTwoRolesAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} +const testAccUserRolesUpdateUserWithTwoRolesAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user.user ] -resource auth0_role admin { - name = "admin" - description = "Administrator" + user_id = auth0_user.user.id + roles = [auth0_role.owner.id, auth0_role.admin.id] } -resource auth0_user user { - depends_on = [auth0_role.owner, auth0_role.admin] - - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +data "auth0_user" "user_data" { + depends_on = [auth0_user_roles.user_roles] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id } +` -resource auth0_user_roles user_roles { +const testAccUserRolesUpdateUserWithNoRolesAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [auth0_role.owner.id, auth0_role.admin.id] + roles = [] } -data auth0_user user_data { +data "auth0_user" "user_data" { depends_on = [auth0_user_roles.user_roles] user_id = auth0_user.user.id } ` -const testAccUserRolesUpdateUserWithNoRolesAssigned = ` -resource auth0_user user { - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +const testAccUserRolesDeleteResource = testAccGivenTwoRolesAndAUser + ` +data "auth0_user" "user_data" { + depends_on = [ auth0_user.user ] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id } +` -resource auth0_user_roles user_roles { +const testAccUserRolesImportSetup = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_role" "user_role-1" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [] + role_id = auth0_role.owner.id } -data auth0_user user_data { - depends_on = [auth0_user_roles.user_roles] +resource "auth0_user_role" "user_role-2" { + depends_on = [ auth0_user_role.user_role-1 ] user_id = auth0_user.user.id + role_id = auth0_role.admin.id } ` -const testAccUserRolesDeleteResource = ` -resource auth0_user user { - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +const testAccUserRolesImportCheck = testAccUserRolesImportSetup + ` +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user_role.user_role-2 ] + + user_id = auth0_user.user.id + roles = [ auth0_role.owner.id, auth0_role.admin.id ] +} + +data "auth0_user" "user_data" { + depends_on = [auth0_user_roles.user_roles] + + user_id = auth0_user.user.id } ` @@ -148,91 +156,34 @@ func TestAccUserRoles(t *testing.T) { }, { Config: acctest.ParseTestName(testAccUserRolesDeleteResource, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - ), }, - }, - }) -} - -const testAccUserRolesImport = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} - -resource auth0_role admin { - name = "admin" - description = "Administrator" -} - -resource auth0_user user { - depends_on = [auth0_role.owner, auth0_role.admin] - - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" - - lifecycle { - ignore_changes = [ roles, connection_name, password ] - } -} - -resource auth0_user_roles user_roles { - depends_on = [ auth0_user.user ] - - user_id = auth0_user.user.id - roles = [ auth0_role.owner.id, auth0_role.admin.id ] -} -` - -func TestAccUserRolesImport(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // The test runs only with recordings as it requires an initial setup. - t.Skip() - } - - testName := strings.ToLower(t.Name()) - - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_role.owner", - ImportState: true, - ImportStateId: "rol_XLLMqPwfx8kdG63e", - ImportStatePersist: true, - }, - { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_role.admin", - ImportState: true, - ImportStateId: "rol_LjLyGzVZE5K34IaY", - ImportStatePersist: true, + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "0"), + ), }, { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_user.user", - ImportState: true, - ImportStateId: "auth0|646cbae1e37ebde3a5ad6fd0", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccUserRolesImportSetup, testName), }, { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_user_roles.user_roles", - ImportState: true, - ImportStateId: "auth0|646cbae1e37ebde3a5ad6fd0", + Config: acctest.ParseTestName(testAccUserRolesImportCheck, testName), + ResourceName: "auth0_user_roles.user_roles", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + return acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + }, ImportStatePersist: true, }, { + Config: acctest.ParseTestName(testAccUserRolesImportCheck, testName), ConfigPlanChecks: resource.ConfigPlanChecks{ PreApply: []plancheck.PlanCheck{ plancheck.ExpectEmptyPlan(), }, }, - Config: acctest.ParseTestName(testAccUserRolesImport, testName), Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "2"), resource.TestCheckResourceAttr("auth0_user_roles.user_roles", "roles.#", "2"), ), }, diff --git a/test/data/recordings/TestAccRolePermissions.yaml b/test/data/recordings/TestAccRolePermissions.yaml index 955e54898..d30f54ec6 100644 --- a/test/data/recordings/TestAccRolePermissions.yaml +++ b/test/data/recordings/TestAccRolePermissions.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 250 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} + {"name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 441 + content_length: 338 uncompressed: false - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 118.130709ms + duration: 105.441292ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -66,34 +66,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.634584ms + duration: 100.480625ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 114 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -102,34 +102,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 70.216334ms + duration: 98.874958ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 117 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 65.985417ms + duration: 115.217875ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -174,34 +174,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.790042ms + duration: 86.700042ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 114 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.238417ms + duration: 94.244375ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.307875ms + duration: 98.98ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 167.1725ms + duration: 153.756958ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.771459ms + status: 201 Created + code: 201 + duration: 98.377792ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.614541ms + duration: 134.527583ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.197ms + duration: 91.269083ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.514917ms + duration: 91.024458ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.189917ms + duration: 88.764917ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.935375ms + duration: 91.718958ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.280542ms + duration: 100.108834ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.564ms + duration: 95.885041ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.761667ms + duration: 102.286958ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.818334ms + duration: 89.501208ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -678,49 +678,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.86325ms + duration: 85.748709ms - id: 19 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 85.692375ms + status: 200 OK + code: 200 + duration: 90.56175ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 76.155125ms + duration: 91.885083ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.6055ms + duration: 93.071833ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 71.200083ms + duration: 92.042875ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.232834ms + duration: 82.250708ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.911291ms + duration: 102.00025ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.187542ms + duration: 89.413292ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.29075ms + duration: 91.446542ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,49 +1002,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 169.2155ms + duration: 84.401417ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 155.179ms + status: 201 Created + code: 201 + duration: 105.513667ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.659459ms + duration: 114.234458ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.080542ms + duration: 93.738625ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.103459ms + duration: 91.311083ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 168.6915ms + duration: 85.912875ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.507166ms + duration: 94.917ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.726666ms + duration: 101.29525ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.026292ms + duration: 82.967459ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1326,49 +1326,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.591416ms + duration: 90.199375ms - id: 37 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 105.091292ms + status: 200 OK + code: 200 + duration: 103.38775ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 65.668958ms + duration: 97.8275ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.473375ms + duration: 107.460833ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.35575ms + duration: 157.573541ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.847625ms + duration: 79.13425ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.706584ms + duration: 166.096833ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.579ms + duration: 78.329917ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.040542ms + duration: 91.259334ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 74.221958ms + duration: 88.462916ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.974042ms + duration: 106.441625ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1722,49 +1722,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 63.288792ms + duration: 94.105542ms - id: 48 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.846833ms + status: 204 No Content + code: 204 + duration: 112.889708ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.990625ms + duration: 110.636542ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 68.446375ms + duration: 83.495875ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 60.1365ms + duration: 120.0195ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.900958ms + duration: 160.032875ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.003916ms + duration: 112.32575ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -1974,49 +1974,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.220959ms + duration: 91.0815ms - id: 55 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 118.935166ms + status: 200 OK + code: 200 + duration: 97.657917ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.378417ms + duration: 121.959375ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.265125ms + duration: 93.825125ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.736125ms + duration: 305.7395ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.492416ms + duration: 117.236375ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.461542ms + duration: 103.425209ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.834875ms + duration: 91.109875ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.056208ms + duration: 93.794083ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.181042ms + duration: 78.354583ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.910792ms + duration: 164.412208ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.598792ms + duration: 138.857083ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.835917ms + duration: 162.269708ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.640708ms + duration: 95.136375ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.317667ms + duration: 87.612709ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 58.919958ms + duration: 133.872125ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 63.543709ms + duration: 93.407125ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,49 +2586,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.29375ms + duration: 93.321375ms - id: 72 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.916834ms + status: 204 No Content + code: 204 + duration: 89.327917ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.927417ms + duration: 162.755666ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.134125ms + duration: 93.787167ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.060458ms + duration: 112.478625ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.648125ms + duration: 82.354375ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2802,49 +2802,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.203208ms + duration: 102.740333ms - id: 78 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 113.80525ms + status: 200 OK + code: 200 + duration: 90.55325ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.304292ms + duration: 99.559541ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2916,7 +2916,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.82125ms + duration: 113.152875ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.531583ms + duration: 87.983375ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.441458ms + duration: 93.843708ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.961583ms + duration: 171.8415ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.511458ms + duration: 91.127208ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.444084ms + duration: 88.746458ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.275792ms + duration: 104.399916ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.551541ms + duration: 88.668875ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64650df5a9c8666f10f49170","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.testaccrolepermissions.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.553167ms + duration: 149.901834ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.498958ms + duration: 87.860834ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3276,7 +3276,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.793208ms + duration: 111.232458ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.172708ms + duration: 84.831167ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.757542ms + duration: 95.654833ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_QZMusw6kpI0Otxop","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.804416ms + duration: 103.771375ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3420,28 +3420,28 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.817458ms + duration: 109.214709ms - id: 95 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {} + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_QZMusw6kpI0Otxop - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -3451,13 +3451,1489 @@ interactions: content_length: 2 uncompressed: false body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 100.292209ms + - id: 96 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.53275ms - - id: 96 + duration: 86.734084ms + - id: 97 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 150 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 132.968709ms + - id: 98 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 181.32275ms + - id: 99 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.763041ms + - id: 100 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.578166ms + - id: 101 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.261208ms + - id: 102 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.927042ms + - id: 103 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.397709ms + - id: 104 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.190708ms + - id: 105 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.022375ms + - id: 106 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.479625ms + - id: 107 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.107833ms + - id: 108 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.183ms + - id: 109 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.051208ms + - id: 110 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.316416ms + - id: 111 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.217833ms + - id: 112 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.605667ms + - id: 113 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 121.629834ms + - id: 114 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.021708ms + - id: 115 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.432334ms + - id: 116 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.48275ms + - id: 117 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.351625ms + - id: 118 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.129125ms + - id: 119 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 112.750875ms + - id: 120 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.423959ms + - id: 121 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.479792ms + - id: 122 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.793417ms + - id: 123 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.799375ms + - id: 124 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.917667ms + - id: 125 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.216166ms + - id: 126 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.009375ms + - id: 127 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.942959ms + - id: 128 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.383084ms + - id: 129 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.500167ms + - id: 130 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.010375ms + - id: 131 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.264167ms + - id: 132 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 280 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + 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: 84.474333ms + - id: 133 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 150 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + 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: 91.680083ms + - id: 134 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 148 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + 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: 87.189959ms + - id: 135 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.221833ms + - id: 136 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.993708ms + - id: 137 request: proto: HTTP/1.1 proto_major: 1 @@ -3474,8 +4950,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64650df5a9c8666f10f49170 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 method: DELETE response: proto: HTTP/2.0 @@ -3491,4 +4967,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 138.436459ms + duration: 218.617041ms diff --git a/test/data/recordings/TestAccRolePermissionsImport.yaml b/test/data/recordings/TestAccRolePermissionsImport.yaml deleted file mode 100644 index 61dac6212..000000000 --- a/test/data/recordings/TestAccRolePermissionsImport.yaml +++ /dev/null @@ -1,542 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cbf5e8ffa2057b6112389 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cbf5e8ffa2057b6112389","name":"Acceptance Test - testaccrolepermissionsimport","identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.1415ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_y36rul7VuBQGVpNa","name":"Acceptance Test - testaccrolepermissionsimport","description":"Acceptance Test Role - testaccrolepermissionsimport"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 212.923666ms - - id: 2 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 136.6325ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 179.605ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cbf5e8ffa2057b6112389 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cbf5e8ffa2057b6112389","name":"Acceptance Test - testaccrolepermissionsimport","identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.088709ms - - id: 5 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_y36rul7VuBQGVpNa","name":"Acceptance Test - testaccrolepermissionsimport","description":"Acceptance Test Role - testaccrolepermissionsimport"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.513458ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.991792ms - - id: 7 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.349583ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cbf5e8ffa2057b6112389 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cbf5e8ffa2057b6112389","name":"Acceptance Test - testaccrolepermissionsimport","identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 86.224542ms - - id: 9 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_y36rul7VuBQGVpNa","name":"Acceptance Test - testaccrolepermissionsimport","description":"Acceptance Test Role - testaccrolepermissionsimport"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.640833ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.68425ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissionsimport","resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.85625ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 292 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.testaccrolepermissionsimport.terraform-provider-auth0.com/api","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa/permissions - 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.099041ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_y36rul7VuBQGVpNa - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.958959ms - - id: 14 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cbf5e8ffa2057b6112389 - 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: 199.624833ms diff --git a/test/data/recordings/TestAccUserPermission.yaml b/test/data/recordings/TestAccUserPermission.yaml index f07debd53..83101d14b 100644 --- a/test/data/recordings/TestAccUserPermission.yaml +++ b/test/data/recordings/TestAccUserPermission.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 248 + content_length: 145 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} + {"name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 439 + content_length: 336 uncompressed: false - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 138.9605ms + duration: 142.628542ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: GET response: proto: HTTP/2.0 @@ -66,70 +66,70 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.620042ms + duration: 109.780542ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 199 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","email":"testaccuserpermission@acceptance.test.com","username":"testaccuserpermission","password":"passpass$12$12"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 587 - uncompressed: false - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 320.235125ms + status: 200 OK + code: 200 + duration: 83.918416ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 117 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.41025ms + duration: 95.007959ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -174,49 +174,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 244.259042ms + duration: 101.571917ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 164 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","email":"testaccuserpermission@acceptance.test.com","password":"passpass$12$12"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + 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: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 552 + uncompressed: false + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.271667ms + status: 201 Created + code: 201 + duration: 452.814333ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.826ms + duration: 99.974167ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.083041ms + duration: 91.621833ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,49 +318,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.796375ms + duration: 93.177ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.103625ms + status: 201 Created + code: 201 + duration: 138.58575ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.729417ms + duration: 127.486209ms - id: 11 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.24875ms + duration: 103.363583ms - id: 12 request: proto: HTTP/1.1 @@ -451,7 +451,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -468,7 +468,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.76725ms + duration: 172.259042ms - id: 13 request: proto: HTTP/1.1 @@ -487,7 +487,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -498,49 +498,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 74.611208ms + duration: 131.652375ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 102.910584ms + status: 200 OK + code: 200 + duration: 88.445167ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.688792ms + duration: 88.822708ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.446959ms + duration: 100.263709ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.468167ms + duration: 97.295958ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.850167ms + duration: 94.163125ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.367666ms + duration: 104.589042ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.812167ms + duration: 171.963541ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.666375ms + duration: 183.477083ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.702959ms + duration: 93.930709ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.250541ms + duration: 103.608667ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.039083ms + duration: 92.297292ms - id: 25 request: proto: HTTP/1.1 @@ -919,7 +919,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -936,7 +936,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.653667ms + duration: 163.839709ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.593083ms + duration: 99.808125ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.60075ms + duration: 84.375583ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.707125ms + duration: 86.655ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.365542ms + duration: 94.348708ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1110,49 +1110,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.166542ms + duration: 85.194ms - id: 31 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 113.94975ms + status: 200 OK + code: 200 + duration: 95.885167ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.923541ms + duration: 87.366375ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.179708ms + duration: 169.830542ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.649ms + duration: 86.651916ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST 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}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.74675ms + status: 201 Created + code: 201 + duration: 89.457709ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1332,7 +1332,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.415ms + duration: 88.675875ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.493375ms + duration: 95.497791ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.994625ms + duration: 105.453291ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.613375ms + duration: 122.66375ms - id: 40 request: proto: HTTP/1.1 @@ -1459,7 +1459,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.962917ms + duration: 119.344125ms - id: 41 request: proto: HTTP/1.1 @@ -1495,7 +1495,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1512,7 +1512,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.551416ms + duration: 91.52125ms - id: 42 request: proto: HTTP/1.1 @@ -1531,7 +1531,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1548,7 +1548,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 75.255542ms + duration: 102.319709ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.916166ms + duration: 132.094541ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.420416ms + duration: 97.638125ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.8955ms + duration: 97.009542ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.262375ms + duration: 108.621167ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.239334ms + duration: 161.045125ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.987625ms + duration: 87.911166ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1800,7 +1800,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.790291ms + duration: 120.934834ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1830,49 +1830,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.492958ms + duration: 88.16875ms - id: 51 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 76.607833ms + status: 200 OK + code: 200 + duration: 153.547416ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 72.0665ms + duration: 88.348958ms - id: 53 request: proto: HTTP/1.1 @@ -1927,7 +1927,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.31ms + duration: 157.907416ms - id: 54 request: proto: HTTP/1.1 @@ -1963,7 +1963,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1980,7 +1980,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.566458ms + duration: 93.242208ms - id: 55 request: proto: HTTP/1.1 @@ -1999,7 +1999,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.158125ms + duration: 98.566334ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.977041ms + duration: 83.780041ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.441208ms + duration: 94.469541ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.703959ms + duration: 91.996292ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.816792ms + duration: 91.275417ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 76.767125ms + duration: 99.715791ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 69.077333ms + duration: 114.609042ms - id: 62 request: proto: HTTP/1.1 @@ -2251,7 +2251,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.475334ms + duration: 104.467042ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.022833ms + duration: 101.327875ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.013542ms + duration: 84.472916ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.860791ms + duration: 99.6525ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2406,50 +2406,2534 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.171042ms + duration: 137.618ms - id: 67 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 0 - uncompressed: false - body: "" + 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: 95.311416ms + - id: 68 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.569791ms + - id: 69 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 149 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + 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: 109.796708ms - - id: 68 + duration: 88.111875ms + - id: 70 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 147 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + 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: 90.270667ms + - id: 71 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 78.336292ms + - id: 72 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.528167ms + - id: 73 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 136.154209ms + - id: 74 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.165625ms + - id: 75 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.032708ms + - id: 76 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.234375ms + - id: 77 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.676084ms + - id: 78 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.680875ms + - id: 79 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 171.502375ms + - id: 80 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 93.137959ms + - id: 81 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.747916ms + - id: 82 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.232833ms + - id: 83 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 98.682958ms + - id: 84 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.35675ms + - id: 85 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.304208ms + - id: 86 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.432458ms + - id: 87 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.899458ms + - id: 88 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 88.956959ms + - id: 89 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.982667ms + - id: 90 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.576333ms + - id: 91 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.096542ms + - id: 92 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.546584ms + - id: 93 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 74.683875ms + - id: 94 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 79.921333ms + - id: 95 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.69425ms + - id: 96 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 75.861958ms + - id: 97 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 152.854542ms + - id: 98 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.011833ms + - id: 99 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.903792ms + - id: 100 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 179.1565ms + - id: 101 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 278 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 98.86925ms + - id: 102 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 117.11275ms + - id: 103 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.714917ms + - id: 104 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.691833ms + - id: 105 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.7235ms + - id: 106 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 81.223125ms + - id: 107 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.741417ms + - id: 108 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.423083ms + - id: 109 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.188334ms + - id: 110 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.464334ms + - id: 111 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 92.632958ms + - id: 112 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 134.243541ms + - id: 113 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.578084ms + - id: 114 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.260625ms + - id: 115 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 91.650917ms + - id: 116 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.229875ms + - id: 117 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 113.334583ms + - id: 118 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.153125ms + - id: 119 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.562458ms + - id: 120 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.594ms + - id: 121 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.772916ms + - id: 122 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.141625ms + - id: 123 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.19525ms + - id: 124 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.016708ms + - id: 125 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 123.212416ms + - id: 126 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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.485875ms + - id: 127 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.617666ms + - id: 128 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.113083ms + - id: 129 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 85.954583ms + - id: 130 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 74.937834ms + - id: 131 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.016334ms + - id: 132 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 129.735125ms + - id: 133 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.122708ms + - id: 134 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.930625ms + - id: 135 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.357833ms + - id: 136 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.283542ms + - id: 137 request: proto: HTTP/1.1 proto_major: 1 @@ -2467,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2478,14 +4962,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.512333ms - - id: 69 + duration: 125.338583ms + - id: 138 request: proto: HTTP/1.1 proto_major: 1 @@ -2503,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,14 +4998,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 64.099084ms - - id: 70 + duration: 95.661583ms + - id: 139 request: proto: HTTP/1.1 proto_major: 1 @@ -2539,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2550,14 +5034,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.675166ms - - id: 71 + duration: 111.426959ms + - id: 140 request: proto: HTTP/1.1 proto_major: 1 @@ -2575,7 +5059,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2586,14 +5070,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 72.363542ms - - id: 72 + duration: 109.729334ms + - id: 141 request: proto: HTTP/1.1 proto_major: 1 @@ -2611,8 +5095,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2622,14 +5106,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645cf8dd10808ebb3d300ef7","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.873542ms - - id: 73 + duration: 88.299792ms + - id: 142 request: proto: HTTP/1.1 proto_major: 1 @@ -2647,7 +5131,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2658,14 +5142,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-11T14:17:02.201Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-11T14:17:02.202Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.241042ms - - id: 74 + duration: 82.583791ms + - id: 143 request: proto: HTTP/1.1 proto_major: 1 @@ -2683,7 +5167,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -2700,8 +5184,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.9015ms - - id: 75 + duration: 91.600708ms + - id: 144 request: proto: HTTP/1.1 proto_major: 1 @@ -2719,7 +5203,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2730,14 +5214,230 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.04475ms - - id: 76 + duration: 94.072667ms + - id: 145 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + 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-06-13T08:00:07.239Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.239Z","user_id":"auth0|testaccuserpermission"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.891375ms + - id: 146 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/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: 96.42275ms + - id: 147 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.442916ms + - id: 148 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 149 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + 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: 88.357459ms + - id: 149 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 278 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + 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: 90.283333ms + - id: 150 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 147 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + 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: 99.541416ms + - id: 151 request: proto: HTTP/1.1 proto_major: 1 @@ -2754,7 +5454,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: DELETE response: @@ -2771,8 +5471,44 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 188.916792ms - - id: 77 + duration: 147.030959ms + - id: 152 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"6488220636f75b929a9664e4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.698042ms + - id: 153 request: proto: HTTP/1.1 proto_major: 1 @@ -2789,8 +5525,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645cf8dd10808ebb3d300ef7 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6488220636f75b929a9664e4 method: DELETE response: proto: HTTP/2.0 @@ -2806,4 +5542,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 181.154458ms + duration: 181.181292ms diff --git a/test/data/recordings/TestAccUserPermissions.yaml b/test/data/recordings/TestAccUserPermissions.yaml index 5c33d0768..f989a3251 100644 --- a/test/data/recordings/TestAccUserPermissions.yaml +++ b/test/data/recordings/TestAccUserPermissions.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 250 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} + {"name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 441 + content_length: 338 uncompressed: false - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 138.904042ms + duration: 129.407666ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -66,70 +66,70 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.240375ms + duration: 114.932209ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 202 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","email":"testaccuserpermissions@acceptance.test.com","username":"testaccuserpermissions","password":"passpass$12$12"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 593 - uncompressed: false - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 319.672458ms + status: 200 OK + code: 200 + duration: 127.129917ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 117 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.489333ms + duration: 109.499291ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -174,49 +174,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.619ms + duration: 122.966167ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 166 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","email":"testaccuserpermissions@acceptance.test.com","password":"passpass$12$12"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + 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: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 557 + uncompressed: false + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 144.336542ms + status: 201 Created + code: 201 + duration: 417.002709ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 74.1755ms + duration: 91.498458ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.696417ms + duration: 85.182833ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,49 +318,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.928208ms + duration: 118.665042ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.380583ms + status: 201 Created + code: 201 + duration: 178.132416ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.280917ms + duration: 101.482167ms - id: 11 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.452792ms + duration: 102.265792ms - id: 12 request: proto: HTTP/1.1 @@ -451,7 +451,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -468,7 +468,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.770125ms + duration: 107.330875ms - id: 13 request: proto: HTTP/1.1 @@ -487,7 +487,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -498,49 +498,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 76.024334ms + duration: 115.584791ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 109.133042ms + status: 200 OK + code: 200 + duration: 109.257708ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.194833ms + duration: 103.840958ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.528708ms + duration: 121.410375ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.970333ms + duration: 84.746917ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.551166ms + duration: 90.086459ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.444875ms + duration: 79.106542ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.172583ms + duration: 101.320459ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.670667ms + duration: 109.750792ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.841542ms + duration: 105.157333ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.073916ms + duration: 85.940208ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.546875ms + duration: 180.730375ms - id: 25 request: proto: HTTP/1.1 @@ -919,7 +919,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -936,7 +936,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.795ms + duration: 96.973209ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.392208ms + duration: 108.325083ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.030166ms + duration: 83.042791ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.336834ms + duration: 115.514875ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.874542ms + duration: 85.859417ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1110,49 +1110,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.259667ms + duration: 78.965291ms - id: 31 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 120.083542ms + status: 200 OK + code: 200 + duration: 153.513083ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.647875ms + duration: 163.147291ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 54.174084ms + duration: 170.496125ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.421375ms + duration: 102.147167ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST 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}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.206708ms + status: 201 Created + code: 201 + duration: 95.266833ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1332,7 +1332,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.57975ms + duration: 94.656ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.078333ms + duration: 90.880333ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.161625ms + duration: 93.615292ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.232833ms + duration: 90.193584ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.851958ms + duration: 105.362166ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.631209ms + duration: 91.45075ms - id: 42 request: proto: HTTP/1.1 @@ -1531,7 +1531,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1548,7 +1548,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.349084ms + duration: 95.161542ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.891708ms + duration: 103.316ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.831792ms + duration: 101.221666ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.853625ms + duration: 102.657125ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.080708ms + duration: 98.759833ms - id: 47 request: proto: HTTP/1.1 @@ -1711,7 +1711,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1728,43 +1728,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.663791ms + duration: 96.959333ms - id: 48 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 109.313916ms + status: 200 OK + code: 200 + duration: 93.467209ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.455833ms + duration: 81.650708ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.443791ms + duration: 83.577042ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 75.10925ms + duration: 94.016542ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.862833ms + duration: 91.75475ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.133917ms + duration: 75.242834ms - id: 54 request: proto: HTTP/1.1 @@ -1963,7 +1963,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.176542ms + duration: 87.897375ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.42275ms + duration: 98.2515ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.13625ms + duration: 85.86975ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 67.435542ms + duration: 154.048167ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.477ms + duration: 153.32475ms - id: 59 request: proto: HTTP/1.1 @@ -2143,7 +2143,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.204333ms + duration: 165.664709ms - id: 60 request: proto: HTTP/1.1 @@ -2179,7 +2179,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2190,49 +2190,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 70.037333ms + duration: 86.925667ms - id: 61 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.13975ms + status: 204 No Content + code: 204 + duration: 92.368667ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.240416ms + duration: 106.040792ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.833083ms + duration: 85.774417ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.713208ms + duration: 105.669083ms - id: 65 request: proto: HTTP/1.1 @@ -2359,7 +2359,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2370,49 +2370,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.462584ms + duration: 120.362375ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 110.885875ms + status: 200 OK + code: 200 + duration: 156.722208ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.693958ms + duration: 92.648584ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.732541ms + duration: 95.9955ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.443708ms + duration: 85.152291ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.121666ms + duration: 92.568292ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"645e628a9ae1f3766b885047","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.002958ms + duration: 79.272333ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T16:00:11.236Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T16:00:11.236Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.154709ms + duration: 99.946666ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.623209ms + duration: 87.919166ms - id: 74 request: proto: HTTP/1.1 @@ -2683,7 +2683,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2694,49 +2694,3613 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.277791ms + duration: 101.905458ms - id: 75 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: DELETE + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 180.81225ms + status: 200 OK + code: 200 + duration: 98.261834ms - id: 76 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 88.356375ms + - id: 77 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.055084ms + - id: 78 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.64525ms + - id: 79 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 105.376083ms + - id: 80 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.423875ms + - id: 81 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.581333ms + - id: 82 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 170.621792ms + - id: 83 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.888875ms + - id: 84 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.970292ms + - id: 85 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 206.830125ms + - id: 86 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.336292ms + - id: 87 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.930458ms + - id: 88 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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.764791ms + - id: 89 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.102958ms + - id: 90 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.616084ms + - id: 91 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 120.217333ms + - id: 92 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.503792ms + - id: 93 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 150 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + 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.415166ms + - id: 94 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.421417ms + - id: 95 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 105.110917ms + - id: 96 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.420834ms + - id: 97 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 113.888542ms + - id: 98 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.983417ms + - id: 99 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.970458ms + - id: 100 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 178.831375ms + - id: 101 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 126.668958ms + - id: 102 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.490083ms + - id: 103 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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.346666ms + - id: 104 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.6515ms + - id: 105 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.285625ms + - id: 106 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 111.142792ms + - id: 107 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.120416ms + - id: 108 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 79.877708ms + - id: 109 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.612083ms + - id: 110 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 115.948083ms + - id: 111 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 85.255625ms + - id: 112 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.881583ms + - id: 113 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.053208ms + - id: 114 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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.189833ms + - id: 115 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.44975ms + - id: 116 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 79.585833ms + - id: 117 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 157.501042ms + - id: 118 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.666792ms + - id: 119 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.409625ms + - id: 120 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.725375ms + - id: 121 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.125541ms + - id: 122 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 84.805416ms + - id: 123 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.451375ms + - id: 124 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 148 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 104.55575ms + - id: 125 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.65975ms + - id: 126 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 150 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 87.047083ms + - id: 127 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.831875ms + - id: 128 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.010667ms + - id: 129 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.469208ms + - id: 130 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.83875ms + - id: 131 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 85.89675ms + - id: 132 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.3115ms + - id: 133 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.110833ms + - id: 134 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.877625ms + - id: 135 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 123.880292ms + - id: 136 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.895291ms + - id: 137 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 116.75ms + - id: 138 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 220.64225ms + - id: 139 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.386708ms + - id: 140 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.743375ms + - id: 141 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.524459ms + - id: 142 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 118.844208ms + - id: 143 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 167.778084ms + - id: 144 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.185291ms + - id: 145 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.336459ms + - id: 146 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.857417ms + - id: 147 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.283291ms + - id: 148 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 88.889333ms + - id: 149 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.094292ms + - id: 150 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.2845ms + - id: 151 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 90.170917ms + - id: 152 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.129958ms + - id: 153 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.281083ms + - id: 154 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 82.7655ms + - id: 155 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.70375ms + - id: 156 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 74.1195ms + - id: 157 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.729208ms + - id: 158 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.332333ms + - id: 159 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 96.51125ms + - id: 160 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.750958ms + - id: 161 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.469375ms + - id: 162 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.354584ms + - id: 163 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.547292ms + - id: 164 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 117.054667ms + - id: 165 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 116.71725ms + - id: 166 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.421209ms + - id: 167 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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-06-13T08:00:07.280Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T08:00:07.280Z","user_id":"auth0|testaccuserpermissions"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.95075ms + - id: 168 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/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: 93.871125ms + - id: 169 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.845958ms + - id: 170 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 280 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + 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: 93.271041ms + - id: 171 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 150 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + 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.416542ms + - id: 172 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 148 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + 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: 90.053292ms + - id: 173 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + 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: 105.9955ms + - id: 174 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648822062d6f1eae8fc639e4","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.5085ms + - id: 175 request: proto: HTTP/1.1 proto_major: 1 @@ -2753,8 +6317,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/645e628a9ae1f3766b885047 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648822062d6f1eae8fc639e4 method: DELETE response: proto: HTTP/2.0 @@ -2770,4 +6334,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 182.008708ms + duration: 122.506375ms diff --git a/test/data/recordings/TestAccUserPermissionsImport.yaml b/test/data/recordings/TestAccUserPermissionsImport.yaml deleted file mode 100644 index 0a4087c58..000000000 --- a/test/data/recordings/TestAccUserPermissionsImport.yaml +++ /dev/null @@ -1,685 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cad063390a55e156ee4cd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cad063390a55e156ee4cd","name":"Acceptance Test - testaccuserpermissionsimport","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.0405ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478 - 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-05-23T12:09:42.690Z","email":"testaccuserpermissionsimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cad06363aac78e30fc478","provider":"auth0","isSocial":false}],"name":"testaccuserpermissionsimport@acceptance.test.com","nickname":"testaccuserpermissionsimport","picture":"https://s.gravatar.com/avatar/39316dfffecd747d8943eac17de89b23?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T12:09:42.690Z","user_id":"auth0|646cad06363aac78e30fc478"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.715542ms - - id: 2 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/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: 123.142875ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.494ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.199375ms - - id: 5 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cad063390a55e156ee4cd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cad063390a55e156ee4cd","name":"Acceptance Test - testaccuserpermissionsimport","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.856417ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478 - 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-05-23T12:09:42.690Z","email":"testaccuserpermissionsimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cad06363aac78e30fc478","provider":"auth0","isSocial":false}],"name":"testaccuserpermissionsimport@acceptance.test.com","nickname":"testaccuserpermissionsimport","picture":"https://s.gravatar.com/avatar/39316dfffecd747d8943eac17de89b23?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T12:09:42.690Z","user_id":"auth0|646cad06363aac78e30fc478"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.281791ms - - id: 7 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/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.041667ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.375042ms - - id: 9 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.27125ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cad063390a55e156ee4cd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"646cad063390a55e156ee4cd","name":"Acceptance Test - testaccuserpermissionsimport","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 89.073583ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478 - 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-05-23T12:09:42.690Z","email":"testaccuserpermissionsimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cad06363aac78e30fc478","provider":"auth0","isSocial":false}],"name":"testaccuserpermissionsimport@acceptance.test.com","nickname":"testaccuserpermissionsimport","picture":"https://s.gravatar.com/avatar/39316dfffecd747d8943eac17de89b23?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T12:09:42.690Z","user_id":"auth0|646cad06363aac78e30fc478"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.704666ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/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.778084ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.322667ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.571416ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions?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: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissionsimport","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.71175ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 292 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissionsimport","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478/permissions - 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: 112.855583ms - - id: 17 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cad06363aac78e30fc478 - 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: 162.230334ms - - id: 18 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/646cad063390a55e156ee4cd - 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: 342.607167ms diff --git a/test/data/recordings/TestAccUserRole.yaml b/test/data/recordings/TestAccUserRole.yaml index 22c9a0300..dcccc9408 100644 --- a/test/data/recordings/TestAccUserRole.yaml +++ b/test/data/recordings/TestAccUserRole.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 39 + content_length: 49 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"owner","description":"Owner"} + {"name":"test-owner","description":"Test Owner"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,33 +30,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.164791ms + duration: 166.052333ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 49 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"test-owner","description":"Test Owner"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.719416ms + duration: 127.797583ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -102,33 +102,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_2EdagcPmeRIyjBYp","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 170.183ms + duration: 158.351583ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 124 + content_length: 57 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccuserrole@acceptance.test.com","password":"passpass$12$12"} + {"name":"test-admin","description":"Test Administrator"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: proto: HTTP/2.0 @@ -136,15 +136,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 540 - uncompressed: false - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 302.151875ms + status: 200 OK + code: 200 + duration: 83.801709ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.992834ms + duration: 185.744458ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -210,85 +210,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.968667ms + duration: 174.651917ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 124 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccuserrole@acceptance.test.com","password":"passpass$12$12"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + 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: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 540 + uncompressed: false + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.217542ms + status: 201 Created + code: 201 + duration: 251.690709ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_293qw513ONKnigK1"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 162.662083ms + status: 200 OK + code: 200 + duration: 172.16775ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 176.45875ms + duration: 162.82225ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.701208ms + duration: 165.22675ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_FkL8yultMRnkJkLm"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 141.209333ms + status: 204 No Content + code: 204 + duration: 173.219542ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.929ms + duration: 86.66275ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.41025ms + duration: 178.523ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.510709ms + duration: 155.5035ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -540,7 +540,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.50375ms + duration: 174.230083ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.870375ms + duration: 91.759208ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.700416ms + duration: 210.270333ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 592.35375ms + duration: 161.687417ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.274375ms + duration: 173.533ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_EOP9frywYtV1oDIh","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.435417ms + duration: 187.698958ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.657542ms + duration: 156.953916ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 210.342917ms + duration: 175.43725ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 202.626958ms + duration: 171.171416ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.229083ms + duration: 88.626708ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.574084ms + duration: 165.211666ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.86075ms + duration: 164.9475ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.883541ms + duration: 221.722917ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.214334ms + duration: 202.756292ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1044,7 +1044,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.955291ms + duration: 173.247125ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.689375ms + duration: 101.657667ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.206666ms + duration: 286.673167ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1152,7 +1152,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.229042ms + duration: 191.537375ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm method: GET response: proto: HTTP/2.0 @@ -1182,34 +1182,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.59875ms + duration: 165.046917ms - id: 33 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"admin","description":"Administrator"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?include_totals=true&page=0&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.955ms + duration: 167.766042ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"}' + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.251542ms + duration: 265.71075ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1296,43 +1296,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.040416ms + duration: 172.262417ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vN15n6JnhBHLml7l"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 136.99075ms + status: 200 OK + code: 200 + duration: 100.023292ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.24875ms + duration: 231.473875ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.318208ms + duration: 171.265167ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.917ms + duration: 159.445042ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_27Nrq4xcSbxMd8MV"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.211583ms + status: 204 No Content + code: 204 + duration: 97.241959ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.466292ms + duration: 88.363958ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.13175ms + duration: 169.438ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.248542ms + duration: 163.210792ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.04275ms + duration: 167.456167ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.829291ms + duration: 81.898ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.063791ms + duration: 167.75025ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1728,7 +1728,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.003708ms + duration: 160.342833ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.114583ms + duration: 195.49125ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 176.869375ms + duration: 157.259042ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.354ms + duration: 165.456208ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.648084ms + duration: 80.373292ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.426ms + duration: 282.837958ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.5015ms + duration: 202.327209ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 672.665917ms + duration: 163.847125ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.713042ms + duration: 247.117833ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.051375ms + duration: 163.354917ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.388083ms + duration: 171.337542ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.857834ms + duration: 252.785167ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.758917ms + duration: 208.739375ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.164125ms + duration: 160.22475ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.499625ms + duration: 95.632208ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.998625ms + duration: 167.511917ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"}' + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.690167ms + duration: 235.869334ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vN15n6JnhBHLml7l","name":"admin","description":"Administrator"},{"id":"rol_293qw513ONKnigK1","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.529209ms + duration: 235.949875ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.513375ms + duration: 235.97025ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_2EdagcPmeRIyjBYp","name":"test-admin","description":"Test Administrator"},{"id":"rol_EOP9frywYtV1oDIh","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.231958ms + duration: 208.03125ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV method: GET response: proto: HTTP/2.0 @@ -2442,178 +2442,178 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.276209ms + duration: 161.418875ms - id: 68 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vN15n6JnhBHLml7l"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 96.225875ms + status: 200 OK + code: 200 + duration: 101.534792ms - id: 69 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_293qw513ONKnigK1"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 97.158584ms + status: 200 OK + code: 200 + duration: 237.422209ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + 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.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vN15n6JnhBHLml7l - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.037875ms + duration: 161.454334ms - id: 71 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + 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.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_293qw513ONKnigK1 - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.732166ms + duration: 160.26925ms - id: 72 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 58 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_293qw513ONKnigK1","rol_vN15n6JnhBHLml7l"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 92.902291ms + status: 200 OK + code: 200 + duration: 164.770916ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.95075ms + duration: 161.529083ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 206.901209ms + duration: 260.656875ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.760792ms + duration: 177.943292ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:49:39.787Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e6013e74fbec581022e4d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:49:39.787Z","user_id":"auth0|645e6013e74fbec581022e4d"}' + body: '{"roles":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.075125ms + duration: 159.613416ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2802,68 +2802,69 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.507917ms + duration: 162.049667ms - id: 78 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_27Nrq4xcSbxMd8MV"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 174.432375ms + status: 204 No Content + code: 204 + duration: 160.807167ms - id: 79 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"roles":["rol_FkL8yultMRnkJkLm"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e6013e74fbec581022e4d + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles method: DELETE response: proto: HTTP/2.0 @@ -2879,4 +2880,3423 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 152.606417ms + duration: 162.160459ms + - id: 80 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.257416ms + - id: 81 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 81.085209ms + - id: 82 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.843125ms + - id: 83 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.85325ms + - id: 84 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.353458ms + - id: 85 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.324208ms + - id: 86 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.261333ms + - id: 87 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 152.852708ms + - id: 88 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 169.692959ms + - id: 89 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 182.361ms + - id: 90 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.654875ms + - id: 91 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 174.456833ms + - id: 92 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 182.101084ms + - id: 93 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.571667ms + - id: 94 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 181.464375ms + - id: 95 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.013125ms + - id: 96 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.171708ms + - id: 97 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.755708ms + - id: 98 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 196.985042ms + - id: 99 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.594542ms + - id: 100 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 167.687916ms + - id: 101 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 169.40175ms + - id: 102 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 178.711958ms + - id: 103 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 183.387375ms + - id: 104 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 162.374834ms + - id: 105 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 181.631291ms + - id: 106 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.18575ms + - id: 107 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 158.667667ms + - id: 108 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 167.945083ms + - id: 109 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.253583ms + - id: 110 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 158.231208ms + - id: 111 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 79.585125ms + - id: 112 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 158.075209ms + - id: 113 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 174.491166ms + - id: 114 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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: 173.008583ms + - id: 115 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 83.399792ms + - id: 116 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 58 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_27Nrq4xcSbxMd8MV","rol_FkL8yultMRnkJkLm"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + 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: 97.523417ms + - id: 117 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.629583ms + - id: 118 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.688416ms + - id: 119 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.754417ms + - id: 120 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.4645ms + - id: 121 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.263334ms + - id: 122 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 272.279667ms + - id: 123 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 194.165875ms + - id: 124 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.029667ms + - id: 125 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 185.452666ms + - id: 126 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.96175ms + - id: 127 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 236.330375ms + - id: 128 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.3855ms + - id: 129 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 306.711083ms + - id: 130 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.95775ms + - id: 131 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 158.80225ms + - id: 132 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.102541ms + - id: 133 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 173.901125ms + - id: 134 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.205333ms + - id: 135 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.619458ms + - id: 136 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.560667ms + - id: 137 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 173.766ms + - id: 138 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.762375ms + - id: 139 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 170.163709ms + - id: 140 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 179.302667ms + - id: 141 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 193.510666ms + - id: 142 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.811458ms + - id: 143 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 177.940042ms + - id: 144 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.061292ms + - id: 145 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.01525ms + - id: 146 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.362375ms + - id: 147 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.747208ms + - id: 148 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.611708ms + - id: 149 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.248375ms + - id: 150 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.151917ms + - id: 151 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.021667ms + - id: 152 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.1385ms + - id: 153 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.819708ms + - id: 154 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.084625ms + - id: 155 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 262.473375ms + - id: 156 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 214.854208ms + - id: 157 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.703583ms + - id: 158 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.280708ms + - id: 159 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 307.144958ms + - id: 160 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 203.811625ms + - id: 161 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 191.235958ms + - id: 162 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 182.808541ms + - id: 163 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 336.031709ms + - id: 164 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 197.255125ms + - id: 165 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 196.295375ms + - id: 166 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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-06-13T09:47:23.810Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883b2b32b1d9c1c22c9bd8","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:47:23.810Z","user_id":"auth0|64883b2b32b1d9c1c22c9bd8"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 198.451208ms + - id: 167 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/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":[{"id":"rol_27Nrq4xcSbxMd8MV","name":"test-admin","description":"Test Administrator"},{"id":"rol_FkL8yultMRnkJkLm","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.419167ms + - id: 168 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.382125ms + - id: 169 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_27Nrq4xcSbxMd8MV"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + 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: 164.060166ms + - id: 170 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_FkL8yultMRnkJkLm"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + 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: 80.054167ms + - id: 171 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 58 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_27Nrq4xcSbxMd8MV","rol_FkL8yultMRnkJkLm"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8/roles + 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: 85.078791ms + - id: 172 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883b2b32b1d9c1c22c9bd8 + 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: 221.070083ms + - id: 173 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_27Nrq4xcSbxMd8MV + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 78.031208ms + - id: 174 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FkL8yultMRnkJkLm + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.127667ms diff --git a/test/data/recordings/TestAccUserRoles.yaml b/test/data/recordings/TestAccUserRoles.yaml index 245a14442..eccaf2300 100644 --- a/test/data/recordings/TestAccUserRoles.yaml +++ b/test/data/recordings/TestAccUserRoles.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 39 + content_length: 57 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"owner","description":"Owner"} + {"name":"test-admin","description":"Test Administrator"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,33 +30,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.868375ms + duration: 107.70175ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 49 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"test-owner","description":"Test Owner"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.396334ms + duration: 84.252208ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -102,33 +102,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_mAeDrSMHTIEpkqA9","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.517083ms + duration: 92.917125ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 125 + content_length: 57 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccuserroles@acceptance.test.com","password":"passpass$12$12"} + {"name":"test-admin","description":"Test Administrator"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: proto: HTTP/2.0 @@ -136,15 +136,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 543 - uncompressed: false - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 279.476375ms + status: 200 OK + code: 200 + duration: 166.202917ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.827209ms + duration: 114.156042ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -210,85 +210,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.4515ms + duration: 95.975291ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 125 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccuserroles@acceptance.test.com","password":"passpass$12$12"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + 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: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 543 + uncompressed: false + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.320583ms + status: 201 Created + code: 201 + duration: 230.238208ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_DyhWtUgOyvkDAyi6"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 197.677083ms + status: 200 OK + code: 200 + duration: 86.010542ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.424458ms + duration: 88.727208ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.682083ms + duration: 135.517125ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_cxpkL51TsZSWWzXk"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 179.422875ms + status: 204 No Content + code: 204 + duration: 146.64625ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.617209ms + duration: 158.283209ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.776084ms + duration: 97.502209ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.677542ms + duration: 155.286542ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -540,7 +540,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.467292ms + duration: 89.304583ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.880542ms + duration: 98.807833ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 190.59ms + duration: 114.678042ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.979917ms + duration: 93.523167ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.935ms + duration: 83.587375ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_mAeDrSMHTIEpkqA9","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.0175ms + duration: 90.958208ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.033542ms + duration: 107.796208ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.722208ms + duration: 89.379917ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.449375ms + duration: 178.081417ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.132792ms + duration: 93.051333ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.027ms + duration: 94.437792ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.810542ms + duration: 88.247083ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 221.1245ms + duration: 83.20925ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.239625ms + duration: 102.224083ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1044,7 +1044,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.473208ms + duration: 98.013125ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.954958ms + duration: 174.159917ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.487875ms + duration: 86.449708ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1152,7 +1152,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.522917ms + duration: 94.717333ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -1182,34 +1182,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.514209ms + duration: 87.643083ms - id: 33 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"admin","description":"Administrator"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.399375ms + duration: 97.654333ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.916167ms + duration: 89.925792ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1296,43 +1296,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.002291ms + duration: 90.178708ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Bl5cnPdg3oIu0XaT"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.608917ms + status: 200 OK + code: 200 + duration: 113.924667ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.022666ms + duration: 86.658791ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.442041ms + duration: 96.471ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.405666ms + duration: 85.551709ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ou76geZYTk6GLDcQ"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.5615ms + status: 204 No Content + code: 204 + duration: 97.197ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.33275ms + duration: 89.532ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.269833ms + duration: 119.502709ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.356792ms + duration: 109.893458ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.41525ms + duration: 107.497125ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.112625ms + duration: 88.418208ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.2835ms + duration: 90.179292ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1728,7 +1728,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.46675ms + duration: 112.226ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.682875ms + duration: 83.611375ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.520708ms + duration: 93.941458ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.106291ms + duration: 88.334292ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 317.351709ms + duration: 94.214375ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.111709ms + duration: 93.507ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.414917ms + duration: 108.5765ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1980,7 +1980,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.428375ms + duration: 95.284916ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.686542ms + duration: 100.524458ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.7405ms + duration: 95.097917ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.801666ms + duration: 79.811959ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.984791ms + duration: 90.727708ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.712042ms + duration: 96.997ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.305667ms + duration: 268.561667ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2232,7 +2232,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.130708ms + duration: 79.566292ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.1685ms + duration: 87.371125ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_mAeDrSMHTIEpkqA9","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.870667ms + duration: 92.166542ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.618958ms + duration: 93.020125ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,106 +2370,106 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.451083ms + duration: 117.234375ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + 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.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.43275ms + duration: 86.330292ms - id: 67 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + 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.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.810875ms + duration: 94.032292ms - id: 68 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 58 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Bl5cnPdg3oIu0XaT","rol_DyhWtUgOyvkDAyi6"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 102.839541ms + status: 200 OK + code: 200 + duration: 126.868667ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,49 +2514,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.476917ms + duration: 118.129459ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_cxpkL51TsZSWWzXk","rol_ou76geZYTk6GLDcQ"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.852667ms + status: 204 No Content + code: 204 + duration: 92.546375ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2592,7 +2592,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.610292ms + duration: 86.164958ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.6ms + duration: 88.344625ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.304584ms + duration: 90.38675ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.673667ms + duration: 109.075916ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.897333ms + duration: 106.127208ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.339583ms + duration: 86.707833ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.369083ms + duration: 93.79325ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.430834ms + duration: 92.629584ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.457833ms + duration: 90.812042ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.792583ms + duration: 84.554708ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.056625ms + duration: 86.492541ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.271416ms + duration: 92.544833ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.991208ms + duration: 79.507084ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.798542ms + duration: 106.771459ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.816917ms + duration: 86.239125ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 175.057708ms + duration: 92.372541ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3168,7 +3168,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.398375ms + duration: 89.465958ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3204,7 +3204,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.388666ms + duration: 90.994958ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -3234,34 +3234,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.31525ms + duration: 105.249625ms - id: 90 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 39 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"owner","description":"Owner"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.533583ms + duration: 87.706125ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.737834ms + duration: 100.343959ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -3342,49 +3342,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.55825ms + duration: 96.083834ms - id: 93 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 943.715167ms + status: 200 OK + code: 200 + duration: 123.345917ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.501ms + duration: 159.835375ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 951.560709ms + duration: 97.356ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.440667ms + duration: 85.355125ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.981959ms + duration: 103.075875ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.9665ms + duration: 89.865083ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3594,49 +3594,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.081583ms + duration: 121.246583ms - id: 100 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_cxpkL51TsZSWWzXk"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.74175ms + status: 204 No Content + code: 204 + duration: 179.02825ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.521833ms + duration: 106.703333ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.472167ms + duration: 92.236042ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.813333ms + duration: 85.269625ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.255917ms + duration: 90.074792ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.397084ms + duration: 81.01225ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.793667ms + duration: 93.876958ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.740833ms + duration: 159.813333ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.910083ms + duration: 98.701959ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_mfrJb9A30ZKGrLFC","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 960.025292ms + duration: 98.250042ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.674875ms + duration: 79.072333ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.596666ms + duration: 89.713333ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.663208ms + duration: 81.184417ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.927041ms + duration: 92.232875ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.89925ms + duration: 89.673792ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.903166ms + duration: 192.771958ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.863292ms + duration: 101.28ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.10075ms + duration: 195.438542ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4284,100 +4284,3520 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.428583ms + duration: 100.87675ms - id: 119 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 79.419417ms + status: 200 OK + code: 200 + duration: 115.653792ms - id: 120 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + 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.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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: 2 + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.15625ms + - id: 121 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 119.085083ms + - id: 122 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 74.176333ms + - id: 123 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.106958ms + - id: 124 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.02475ms + - id: 125 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.827875ms + - id: 126 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.810917ms + - id: 127 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.636291ms + - id: 128 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 158.297083ms + - id: 129 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.968041ms + - id: 130 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.287541ms + - id: 131 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 125.818791ms + - id: 132 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.998625ms + - id: 133 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.910834ms + - id: 134 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.507125ms + - id: 135 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.689041ms + - id: 136 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_cxpkL51TsZSWWzXk"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + 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: 120.00425ms + - id: 137 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.603083ms + - id: 138 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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.604542ms + - id: 139 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.793958ms + - id: 140 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.343667ms + - id: 141 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.276583ms + - id: 142 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.74625ms + - id: 143 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.548041ms + - id: 144 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.568334ms + - id: 145 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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: 102.649208ms + - id: 146 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.152458ms + - id: 147 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.68075ms + - id: 148 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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: 93.679375ms + - id: 149 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.348917ms + - id: 150 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.578042ms + - id: 151 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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.788958ms + - id: 152 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.281ms + - id: 153 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.550542ms + - id: 154 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.533167ms + - id: 155 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 79.329125ms + - id: 156 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.369333ms + - id: 157 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.000542ms + - id: 158 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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.492291ms + - id: 159 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.687042ms + - id: 160 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 145.878ms + - id: 161 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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.402917ms + - id: 162 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.785709ms + - id: 163 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.124541ms + - id: 164 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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.387959ms + - id: 165 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.065375ms + - id: 166 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.39025ms + - id: 167 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.478708ms + - id: 168 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.043875ms + - id: 169 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.09075ms + - id: 170 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 115.388584ms + - id: 171 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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: 99.759958ms + - id: 172 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.915167ms + - id: 173 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_cxpkL51TsZSWWzXk"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + 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: 89.393958ms + - id: 174 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.664542ms + - id: 175 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_ou76geZYTk6GLDcQ"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 uncompressed: false - body: '{}' + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 107.036125ms + - id: 176 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 76.931834ms + - id: 177 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.017125ms + - id: 178 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.099ms + - id: 179 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.466167ms + - id: 180 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.316333ms + - id: 181 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.178666ms + - id: 182 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.395458ms + - id: 183 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.137ms + - id: 184 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 180.863042ms + - id: 185 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.31ms + - id: 186 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.521209ms + - id: 187 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 87.707958ms + - id: 188 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.089125ms + - id: 189 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 111.045208ms + - id: 190 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 200.0565ms + - id: 191 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.650708ms + - id: 192 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.542292ms + - id: 193 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 206.412416ms + - id: 194 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 109.756666ms + - id: 195 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.322417ms + - id: 196 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.31025ms + - id: 197 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.130042ms + - id: 198 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.20325ms + - id: 199 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.139375ms + - id: 200 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.004083ms + - id: 201 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.084958ms + - id: 202 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.087792ms + - id: 203 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.928416ms + - id: 204 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.651833ms + - id: 205 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.911708ms + - id: 206 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.371458ms + - id: 207 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.094ms + - id: 208 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 218.135583ms + - id: 209 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.590333ms + - id: 210 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.696458ms + - id: 211 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.818666ms + - id: 212 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 280.186458ms + - id: 213 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 98.952667ms + - id: 214 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.26975ms + - id: 215 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.941458ms - - id: 121 + duration: 99.636625ms + - id: 216 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -4386,14 +7806,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 93.235042ms - - id: 122 + status: 200 OK + code: 200 + duration: 108.581459ms + - id: 217 request: proto: HTTP/1.1 proto_major: 1 @@ -4411,8 +7831,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4422,14 +7842,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.739ms - - id: 123 + duration: 90.1145ms + - id: 218 request: proto: HTTP/1.1 proto_major: 1 @@ -4447,8 +7867,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,14 +7878,86 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.21525ms - - id: 124 + duration: 90.32325ms + - id: 219 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 + 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-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.263958ms + - id: 220 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/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":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.1445ms + - id: 221 request: proto: HTTP/1.1 proto_major: 1 @@ -4483,8 +7975,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4500,8 +7992,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.114417ms - - id: 125 + duration: 114.448667ms + - id: 222 request: proto: HTTP/1.1 proto_major: 1 @@ -4519,8 +8011,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: GET response: proto: HTTP/2.0 @@ -4530,14 +8022,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-13T09:45:19.741Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64883aaf2719f25016c22819","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-13T09:45:19.741Z","user_id":"auth0|64883aaf2719f25016c22819"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.371375ms - - id: 126 + duration: 96.2765ms + - id: 223 request: proto: HTTP/1.1 proto_major: 1 @@ -4555,8 +8047,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4566,14 +8058,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ou76geZYTk6GLDcQ","name":"test-admin","description":"Test Administrator"},{"id":"rol_cxpkL51TsZSWWzXk","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.915875ms - - id: 127 + duration: 91.138125ms + - id: 224 request: proto: HTTP/1.1 proto_major: 1 @@ -4591,8 +8083,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4608,8 +8100,116 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.965291ms - - id: 128 + duration: 91.8195ms + - id: 225 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 58 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_cxpkL51TsZSWWzXk","rol_ou76geZYTk6GLDcQ"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + 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: 130.764042ms + - id: 226 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_ou76geZYTk6GLDcQ"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + 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: 108.52775ms + - id: 227 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_cxpkL51TsZSWWzXk"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819/roles + 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.090791ms + - id: 228 request: proto: HTTP/1.1 proto_major: 1 @@ -4626,8 +8226,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64883aaf2719f25016c22819 method: DELETE response: proto: HTTP/2.0 @@ -4643,4 +8243,76 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 219.156166ms + duration: 112.982375ms + - id: 229 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ou76geZYTk6GLDcQ + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.29775ms + - id: 230 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + 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.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_cxpkL51TsZSWWzXk + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.58025ms diff --git a/test/data/recordings/TestAccUserRolesImport.yaml b/test/data/recordings/TestAccUserRolesImport.yaml deleted file mode 100644 index 67df9d861..000000000 --- a/test/data/recordings/TestAccUserRolesImport.yaml +++ /dev/null @@ -1,1010 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.010834ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.828ms - - id: 2 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.604083ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.129833ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - 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-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 129.777459ms - - id: 5 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.580958ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 229.191583ms - - id: 7 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.148792ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.991542ms - - id: 9 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.3925ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.365875ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.394625ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - 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-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.105875ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.411208ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.563375ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.226959ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 86.320417ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 142.127375ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.814875ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.117042ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - 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-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.55025ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.005375ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?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: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.340959ms - - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/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":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 277.517083ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_LjLyGzVZE5K34IaY","rol_XLLMqPwfx8kdG63e"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles - 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: 86.888666ms - - id: 25 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - 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: 120.85125ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.279708ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - 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.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.932541ms