diff --git a/internal/auth0/user/data_source.go b/internal/auth0/user/data_source.go index 6d7e540fd..6a893779b 100644 --- a/internal/auth0/user/data_source.go +++ b/internal/auth0/user/data_source.go @@ -3,10 +3,11 @@ package user import ( "context" + "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/auth0/terraform-provider-auth0/internal/auth0" + "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) @@ -22,21 +23,81 @@ func NewDataSource() *schema.Resource { func dataSourceSchema() map[string]*schema.Schema { dataSourceSchema := internalSchema.TransformResourceToDataSource(internalSchema.Clone(NewResource().Schema)) - internalSchema.SetExistingAttributesAsOptional(dataSourceSchema, "user_id") - dataSourceSchema["user_id"].Required = true - dataSourceSchema["user_id"].Computed = false - dataSourceSchema["user_id"].Optional = false + dataSourceSchema["user_id"] = &schema.Schema{ + Type: schema.TypeString, + Required: true, + Description: "ID of the user.", + } + + dataSourceSchema["permissions"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Description: "List of API permissions granted to the user.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of the permission.", + }, + "description": { + Type: schema.TypeString, + Computed: true, + Description: "Description of the permission.", + }, + "resource_server_identifier": { + Type: schema.TypeString, + Computed: true, + Description: "Resource server identifier associated with the permission.", + }, + "resource_server_name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of resource server that the permission is associated with.", + }, + }, + }, + } - dataSourceSchema["permissions"].Deprecated = "" - dataSourceSchema["permissions"].Description = "List of API permissions granted to the user." - dataSourceSchema["roles"].Deprecated = "" - dataSourceSchema["roles"].Description = "Set of IDs of roles assigned to the user." + dataSourceSchema["roles"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + Description: "Set of IDs of roles assigned to the user.", + } return dataSourceSchema } func readUserForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + userID := data.Get("user_id").(string) - data.SetId(userID) - return auth0.CheckFor404Error(ctx, readUser, data, meta) + + user, err := api.User.Read(ctx, userID) + if err != nil { + return diag.FromErr(err) + } + + data.SetId(user.GetID()) + + roles, err := api.User.Roles(ctx, user.GetID()) + if err != nil { + return diag.FromErr(err) + } + + permissions, err := api.User.Permissions(ctx, user.GetID()) + if err != nil { + return diag.FromErr(err) + } + + result := multierror.Append( + flattenUser(data, user), + data.Set("roles", flattenUserRoles(roles)), + data.Set("permissions", flattenUserPermissions(permissions)), + ) + + return diag.FromErr(result.ErrorOrNil()) } diff --git a/internal/auth0/user/data_source_test.go b/internal/auth0/user/data_source_test.go index 838104c0b..0f4c24036 100644 --- a/internal/auth0/user/data_source_test.go +++ b/internal/auth0/user/data_source_test.go @@ -11,8 +11,41 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) +const testAccDataSourceUserDoesNotExist = ` +data "auth0_user" "user" { + user_id = "auth0|this-user-id-does-not-exist" +} +` + const testAccDataSourceUser = ` +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" "owner" { + depends_on = [ auth0_resource_server_scopes.my_scopes ] + name = "Test Owner {{.testName}}" description = "Owner {{.testName}}" } @@ -37,7 +70,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.owner.id, auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bar", "baz": "qux" @@ -48,10 +80,33 @@ resource "auth0_user" "user" { }) } -data "auth0_user" "test" { +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" + } +} + +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user_permissions.user_permissions ] + + user_id = auth0_user.user.id + roles = [ auth0_role.owner.id, auth0_role.admin.id ] +} + +data "auth0_user" "test" { + depends_on = [ auth0_user_roles.user_roles ] + + user_id = auth0_user.user.id } ` @@ -60,6 +115,10 @@ func TestAccDataSourceUser(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataSourceUserDoesNotExist, testName), + ExpectError: regexp.MustCompile(`Error: 404 Not Found: The user does not exist.`), + }, { Config: acctest.ParseTestName(testAccDataSourceUser, testName), Check: resource.ComposeTestCheckFunc( @@ -73,7 +132,7 @@ func TestAccDataSourceUser(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_user.test", "nickname", testName), resource.TestCheckResourceAttr("data.auth0_user.test", "picture", "https://www.example.com/picture.jpg"), resource.TestCheckResourceAttr("data.auth0_user.test", "roles.#", "2"), - resource.TestCheckResourceAttr("data.auth0_user.test", "permissions.#", "0"), + resource.TestCheckResourceAttr("data.auth0_user.test", "permissions.#", "2"), resource.TestCheckResourceAttr("data.auth0_user.test", "user_metadata", `{"baz":"qux","foo":"bar"}`), resource.TestCheckResourceAttr("data.auth0_user.test", "app_metadata", `{"baz":"qux","foo":"bar"}`), ), @@ -81,24 +140,3 @@ func TestAccDataSourceUser(t *testing.T) { }, }) } - -const testAccDataSourceUserDoesNotExist = ` -data "auth0_user" "test" { - user_id = "auth0|this-user-id-does-not-exist" -} -` - -func TestAccDataSourceUserDoesNotExist(t *testing.T) { - testName := strings.ToLower(t.Name()) - - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccDataSourceUserDoesNotExist, testName), - ExpectError: regexp.MustCompile( - `no resource found with that identifier \((404\))`, - ), - }, - }, - }) -} diff --git a/internal/auth0/user/expand.go b/internal/auth0/user/expand.go new file mode 100644 index 000000000..f4c98c827 --- /dev/null +++ b/internal/auth0/user/expand.go @@ -0,0 +1,106 @@ +package user + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/structure" + + "github.com/auth0/terraform-provider-auth0/internal/value" +) + +func expandUser(d *schema.ResourceData) (*management.User, error) { + cfg := d.GetRawConfig() + + user := &management.User{} + + if d.IsNewResource() { + user.ID = value.String(cfg.GetAttr("user_id")) + } + if d.HasChange("email") { + user.Email = value.String(cfg.GetAttr("email")) + } + if d.HasChange("username") { + user.Username = value.String(cfg.GetAttr("username")) + } + if d.HasChange("password") { + user.Password = value.String(cfg.GetAttr("password")) + } + if d.HasChange("phone_number") { + user.PhoneNumber = value.String(cfg.GetAttr("phone_number")) + } + if d.HasChange("email_verified") { + user.EmailVerified = value.Bool(cfg.GetAttr("email_verified")) + } + if d.HasChange("verify_email") { + user.VerifyEmail = value.Bool(cfg.GetAttr("verify_email")) + } + if d.HasChange("phone_verified") { + user.PhoneVerified = value.Bool(cfg.GetAttr("phone_verified")) + } + if d.HasChange("given_name") { + user.GivenName = value.String(cfg.GetAttr("given_name")) + } + if d.HasChange("family_name") { + user.FamilyName = value.String(cfg.GetAttr("family_name")) + } + if d.HasChange("nickname") { + user.Nickname = value.String(cfg.GetAttr("nickname")) + } + if d.HasChange("name") { + user.Name = value.String(cfg.GetAttr("name")) + } + if d.HasChange("picture") { + user.Picture = value.String(cfg.GetAttr("picture")) + } + if d.HasChange("blocked") { + user.Blocked = value.Bool(cfg.GetAttr("blocked")) + } + if d.HasChange("connection_name") { + user.Connection = value.String(cfg.GetAttr("connection_name")) + } + if d.HasChange("user_metadata") { + userMetadata, err := expandMetadata(d, "user") + if err != nil { + return nil, err + } + user.UserMetadata = &userMetadata + } + if d.HasChange("app_metadata") { + appMetadata, err := expandMetadata(d, "app") + if err != nil { + return nil, err + } + user.AppMetadata = &appMetadata + } + + return user, nil +} + +func expandMetadata(d *schema.ResourceData, metadataType string) (map[string]interface{}, error) { + oldMetadata, newMetadata := d.GetChange(metadataType + "_metadata") + if oldMetadata == "" { + return value.MapFromJSON(d.GetRawConfig().GetAttr(metadataType + "_metadata")) + } + + if newMetadata == "" { + return map[string]interface{}{}, nil + } + + oldMap, err := structure.ExpandJsonFromString(oldMetadata.(string)) + if err != nil { + return map[string]interface{}{}, err + } + + newMap, err := structure.ExpandJsonFromString(newMetadata.(string)) + if err != nil { + return map[string]interface{}{}, err + } + + for key := range oldMap { + if _, ok := newMap[key]; !ok { + newMap[key] = nil + } + } + + return newMap, nil +} diff --git a/internal/auth0/user/flatten.go b/internal/auth0/user/flatten.go new file mode 100644 index 000000000..7dae85b88 --- /dev/null +++ b/internal/auth0/user/flatten.go @@ -0,0 +1,61 @@ +package user + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/structure" +) + +func flattenUser(data *schema.ResourceData, user *management.User) (err error) { + userMetadata, err := structure.FlattenJsonToString(user.GetUserMetadata()) + if err != nil { + return err + } + + appMetadata, err := structure.FlattenJsonToString(user.GetAppMetadata()) + if err != nil { + return err + } + + result := multierror.Append( + data.Set("user_id", user.GetID()), + data.Set("username", user.GetUsername()), + data.Set("name", user.GetName()), + data.Set("family_name", user.GetFamilyName()), + data.Set("given_name", user.GetGivenName()), + data.Set("nickname", user.GetNickname()), + data.Set("email", user.GetEmail()), + data.Set("email_verified", user.GetEmailVerified()), + data.Set("verify_email", user.GetVerifyEmail()), + data.Set("phone_number", user.GetPhoneNumber()), + data.Set("phone_verified", user.GetPhoneVerified()), + data.Set("blocked", user.GetBlocked()), + data.Set("picture", user.GetPicture()), + data.Set("user_metadata", userMetadata), + data.Set("app_metadata", appMetadata), + ) + + return result.ErrorOrNil() +} + +func flattenUserRoles(roleList *management.RoleList) []interface{} { + var roles []interface{} + for _, role := range roleList.Roles { + roles = append(roles, role.GetID()) + } + return roles +} + +func flattenUserPermissions(permissionList *management.PermissionList) []interface{} { + var permissions []interface{} + for _, permission := range permissionList.Permissions { + permissions = append(permissions, map[string]string{ + "name": permission.GetName(), + "resource_server_identifier": permission.GetResourceServerIdentifier(), + "description": permission.GetDescription(), + "resource_server_name": permission.GetResourceServerName(), + }) + } + return permissions +} diff --git a/internal/auth0/user/resource.go b/internal/auth0/user/resource.go index 644698a54..6a645363d 100644 --- a/internal/auth0/user/resource.go +++ b/internal/auth0/user/resource.go @@ -148,51 +148,6 @@ func NewResource() *schema.Resource { "has disabled 'Sync user profile attributes at each login'. For more information, see: " + "[Configure Identity Provider Connection for User Profile Updates](https://auth0.com/docs/manage-users/user-accounts/user-profiles/configure-connection-sync-with-auth0).", }, - "roles": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, - Description: "Set of IDs of roles assigned to the user. " + - "Managing roles through this attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_user_roles` or the `auth0_user_role` resource to manage user roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#user-roles) on how to do that.", - Deprecated: "Managing roles through this attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_user_roles` or the `auth0_user_role` resource to manage user roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#user-roles) on how to do that.", - }, - "permissions": { - Type: schema.TypeSet, - Computed: true, - Description: "List of API permissions granted to the user. " + - "Reading permissions through this attribute is deprecated and it will be removed in a future major version. " + - "Use the `auth0_user` data source instead.", - Deprecated: "Reading permissions through this attribute is deprecated and it will be removed in a future major version. " + - "Use the `auth0_user` data source instead.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of permission.", - }, - "description": { - Type: schema.TypeString, - Computed: true, - Description: "Description of the permission.", - }, - "resource_server_identifier": { - Type: schema.TypeString, - Computed: true, - Description: "Resource server identifier associated with the permission.", - }, - "resource_server_name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of resource server that the permission is associated with.", - }, - }, - }, - }, }, } } @@ -206,56 +161,13 @@ func readUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.D d.SetId("") return nil } - return diag.FromErr(err) - } - - result := multierror.Append( - d.Set("user_id", user.GetID()), - d.Set("username", user.GetUsername()), - d.Set("name", user.GetName()), - d.Set("family_name", user.GetFamilyName()), - d.Set("given_name", user.GetGivenName()), - d.Set("nickname", user.GetNickname()), - d.Set("email", user.GetEmail()), - d.Set("email_verified", user.GetEmailVerified()), - d.Set("verify_email", user.GetVerifyEmail()), - d.Set("phone_number", user.GetPhoneNumber()), - d.Set("phone_verified", user.GetPhoneVerified()), - d.Set("blocked", user.GetBlocked()), - d.Set("picture", user.GetPicture()), - ) - - var userMeta string - if user.UserMetadata != nil { - userMeta, err = structure.FlattenJsonToString(*user.UserMetadata) - if err != nil { - return diag.FromErr(err) - } - } - result = multierror.Append(result, d.Set("user_metadata", userMeta)) - - var appMeta string - if user.AppMetadata != nil { - appMeta, err = structure.FlattenJsonToString(*user.AppMetadata) - if err != nil { - return diag.FromErr(err) - } - } - result = multierror.Append(result, d.Set("app_metadata", appMeta)) - roleList, err := api.User.Roles(ctx, d.Id()) - if err != nil { return diag.FromErr(err) } - result = multierror.Append(result, d.Set("roles", flattenUserRoles(roleList))) - permissions, err := api.User.Permissions(ctx, user.GetID()) - if err != nil { - return diag.FromErr(err) - } - result = multierror.Append(result, d.Set("permissions", flattenUserPermissions(permissions))) + err = flattenUser(d, user) - return diag.FromErr(result.ErrorOrNil()) + return diag.FromErr(err) } func createUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { @@ -326,124 +238,6 @@ func deleteUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag return nil } -func expandUser(d *schema.ResourceData) (*management.User, error) { - config := d.GetRawConfig() - - user := &management.User{} - - if d.IsNewResource() { - user.ID = value.String(config.GetAttr("user_id")) - } - if d.HasChange("email") { - user.Email = value.String(config.GetAttr("email")) - } - if d.HasChange("username") { - user.Username = value.String(config.GetAttr("username")) - } - if d.HasChange("password") { - user.Password = value.String(config.GetAttr("password")) - } - if d.HasChange("phone_number") { - user.PhoneNumber = value.String(config.GetAttr("phone_number")) - } - if d.HasChange("email_verified") { - user.EmailVerified = value.Bool(config.GetAttr("email_verified")) - } - if d.HasChange("verify_email") { - user.VerifyEmail = value.Bool(config.GetAttr("verify_email")) - } - if d.HasChange("phone_verified") { - user.PhoneVerified = value.Bool(config.GetAttr("phone_verified")) - } - if d.HasChange("given_name") { - user.GivenName = value.String(config.GetAttr("given_name")) - } - if d.HasChange("family_name") { - user.FamilyName = value.String(config.GetAttr("family_name")) - } - if d.HasChange("nickname") { - user.Nickname = value.String(config.GetAttr("nickname")) - } - if d.HasChange("name") { - user.Name = value.String(config.GetAttr("name")) - } - if d.HasChange("picture") { - user.Picture = value.String(config.GetAttr("picture")) - } - if d.HasChange("blocked") { - user.Blocked = value.Bool(config.GetAttr("blocked")) - } - if d.HasChange("connection_name") { - user.Connection = value.String(config.GetAttr("connection_name")) - } - if d.HasChange("user_metadata") { - userMetadata, err := expandMetadata(d, "user") - if err != nil { - return nil, err - } - user.UserMetadata = &userMetadata - } - if d.HasChange("app_metadata") { - appMetadata, err := expandMetadata(d, "app") - if err != nil { - return nil, err - } - user.AppMetadata = &appMetadata - } - - return user, nil -} - -func expandMetadata(d *schema.ResourceData, metadataType string) (map[string]interface{}, error) { - oldMetadata, newMetadata := d.GetChange(metadataType + "_metadata") - if oldMetadata == "" { - return value.MapFromJSON(d.GetRawConfig().GetAttr(metadataType + "_metadata")) - } - - if newMetadata == "" { - return map[string]interface{}{}, nil - } - - oldMap, err := structure.ExpandJsonFromString(oldMetadata.(string)) - if err != nil { - return map[string]interface{}{}, err - } - - newMap, err := structure.ExpandJsonFromString(newMetadata.(string)) - if err != nil { - return map[string]interface{}{}, err - } - - for key := range oldMap { - if _, ok := newMap[key]; !ok { - newMap[key] = nil - } - } - - return newMap, nil -} - -func flattenUserRoles(roleList *management.RoleList) []interface{} { - var roles []interface{} - for _, role := range roleList.Roles { - roles = append(roles, role.GetID()) - } - return roles -} - -func flattenUserPermissions(permissionList *management.PermissionList) []interface{} { - var permissions []interface{} - for _, p := range permissionList.Permissions { - permissions = append(permissions, map[string]string{ - "name": p.GetName(), - "resource_server_identifier": p.GetResourceServerIdentifier(), - "description": p.GetDescription(), - "resource_server_name": p.GetResourceServerName(), - }) - } - return permissions -} - func validateUser(user *management.User) error { validations := []validateUserFunc{ validateNoUsernameAndPasswordSimultaneously(), diff --git a/internal/auth0/user/resource_roles_test.go b/internal/auth0/user/resource_roles_test.go index 5c476d2c6..11dcf1558 100644 --- a/internal/auth0/user/resource_roles_test.go +++ b/internal/auth0/user/resource_roles_test.go @@ -31,10 +31,6 @@ resource "auth0_user" "user" { email = "{{.testName}}@acceptance.test.com" password = "passpass$12$12" username = "{{.testName}}" - - lifecycle { - ignore_changes = [roles] - } } ` diff --git a/internal/auth0/user/resource_test.go b/internal/auth0/user/resource_test.go index b2227041b..2896d8947 100644 --- a/internal/auth0/user/resource_test.go +++ b/internal/auth0/user/resource_test.go @@ -48,22 +48,8 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateWithRolesAndMetadata = ` -resource "auth0_role" "owner" { - name = "Test Owner {{.testName}}" - description = "Owner {{.testName}}" -} - -resource "auth0_role" "admin" { - depends_on = [ auth0_role.owner ] - - name = "Test Admin {{.testName}}" - description = "Administrator {{.testName}}" -} - +const testAccUserUpdateWithMetadataWithTwoElements = ` resource "auth0_user" "user" { - depends_on = [ auth0_role.admin ] - connection_name = "Username-Password-Authentication" username = "{{.testName}}" email = "{{.testName}}@acceptance.test.com" @@ -73,7 +59,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.owner.id, auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bar", "baz": "qux" @@ -85,15 +70,8 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateRemovingOneRoleAndUpdatingMetadata = ` -resource "auth0_role" "admin" { - name = "Test Admin {{.testName}}" - description = "Administrator {{.testName}}" -} - +const testAccUserUpdateMetadataByRemovingOneElement = ` resource "auth0_user" "user" { - depends_on = [ auth0_role.admin ] - connection_name = "Username-Password-Authentication" username = "{{.testName}}" email = "{{.testName}}@acceptance.test.com" @@ -103,7 +81,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bars", }) @@ -113,7 +90,7 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateRemovingAllRolesAndUpdatingMetadata = ` +const testAccUserUpdatingMetadataBySettingToEmpty = ` resource "auth0_user" "user" { connection_name = "Username-Password-Authentication" username = "{{.testName}}" @@ -124,14 +101,8 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - user_metadata = jsonencode({ - "foo": "barss", - "foo2": "bar2", - }) - app_metadata = jsonencode({ - "foo": "barss", - "foo2": "bar2", - }) + user_metadata = "" + app_metadata = "" } ` @@ -176,41 +147,32 @@ func TestAccUser(t *testing.T) { resource.TestCheckResourceAttr("auth0_user.user", "picture", "https://www.example.com/picture.jpg"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateWithRolesAndMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdateWithMetadataWithTwoElements, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "2"), - resource.TestCheckResourceAttr("auth0_role.owner", "name", fmt.Sprintf("Test Owner %s", testName)), - resource.TestCheckResourceAttr("auth0_role.admin", "name", fmt.Sprintf("Test Admin %s", testName)), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"baz":"qux","foo":"bar"}`), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"baz":"qux","foo":"bar"}`), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateRemovingOneRoleAndUpdatingMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdateMetadataByRemovingOneElement, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "1"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"foo":"bars"}`), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"foo":"bars"}`), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateRemovingAllRolesAndUpdatingMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdatingMetadataBySettingToEmpty, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"foo":"barss","foo2":"bar2"}`), - resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"foo":"barss","foo2":"bar2"}`), + resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), + resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), ), }, { Config: acctest.ParseTestName(testAccUserUpdateRemovingMetadata, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), ), diff --git a/test/data/recordings/TestAccDataSourceUser.yaml b/test/data/recordings/TestAccDataSourceUser.yaml index a92787c21..d65da3062 100644 --- a/test/data/recordings/TestAccDataSourceUser.yaml +++ b/test/data/recordings/TestAccDataSourceUser.yaml @@ -2,6 +2,222 @@ 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Cthis-user-id-does-not-exist + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"statusCode":404,"error":"Not Found","message":"The user does not exist.","errorCode":"inexistent_user"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 110.256208ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 145 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 336 + uncompressed: false + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 111.886ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 99.224958ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.4405ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.790208ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 94.488917ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -19,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,14 +246,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.249875ms - - id: 1 + duration: 103.854708ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -55,8 +271,8 @@ interactions: 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_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: GET response: proto: HTTP/2.0 @@ -66,14 +282,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.05225ms - - id: 2 + duration: 94.339375ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -91,8 +307,8 @@ interactions: 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_EV2cCPua0lA9NHML/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,8 +324,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.979583ms - - id: 3 + duration: 99.333958ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -127,7 +343,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,14 +354,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.870791ms - - id: 4 + duration: 160.449667ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -163,8 +379,8 @@ interactions: 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_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: GET response: proto: HTTP/2.0 @@ -174,14 +390,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.251666ms - - id: 5 + duration: 92.342958ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -199,8 +415,8 @@ interactions: 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_bq4c52gV3gH41ZoS/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,8 +432,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.07725ms - - id: 6 + duration: 101.981625ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -235,7 +451,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,14 +462,122 @@ interactions: trailer: {} content_length: 610 uncompressed: false - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 228.176375ms - - id: 7 + duration: 305.033917ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + 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-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.283708ms + - id: 14 + 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/testaccdatasourceuser","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/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: 121.93725ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/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 - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.695084ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -265,13 +589,13 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_bq4c52gV3gH41ZoS","rol_EV2cCPua0lA9NHML"]} + {"roles":["rol_ErEXdPRseKxfTUdl","rol_bEofgIaLEp8cY3mm"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles method: POST response: @@ -288,8 +612,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 109.741458ms - - id: 8 + duration: 131.771375ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -307,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,14 +642,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.676291ms - - id: 9 + duration: 144.674417ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -343,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -354,14 +678,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.780375ms - - id: 10 + duration: 136.310209ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -379,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,14 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.133833ms - - id: 11 + duration: 110.571458ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -415,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,14 +750,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 84.377709ms - - id: 12 + duration: 102.272ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -451,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -462,14 +786,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.908958ms - - id: 13 + duration: 106.569375ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -487,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,14 +822,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.891333ms - - id: 14 + duration: 103.569541ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -523,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,14 +858,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.250333ms - - id: 15 + duration: 100.756084ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc method: GET response: proto: HTTP/2.0 @@ -570,14 +894,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.390417ms - - id: 16 + duration: 96.918459ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -595,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -606,14 +930,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 151.825125ms - - id: 17 + duration: 91.028208ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -631,8 +955,8 @@ interactions: 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_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: GET response: proto: HTTP/2.0 @@ -642,14 +966,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.760917ms - - id: 18 + duration: 97.91775ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -667,8 +991,8 @@ interactions: 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_EV2cCPua0lA9NHML/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -684,8 +1008,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.023208ms - - id: 19 + duration: 108.6985ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -703,8 +1027,8 @@ interactions: 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_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: GET response: proto: HTTP/2.0 @@ -714,14 +1038,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.733708ms - - id: 20 + duration: 117.150584ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -739,8 +1063,8 @@ interactions: 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_bq4c52gV3gH41ZoS/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -756,8 +1080,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.505583ms - - id: 21 + duration: 112.708208ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -775,7 +1099,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -786,14 +1110,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.218167ms - - id: 22 + duration: 105.960083ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -811,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,14 +1146,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.974917ms - - id: 23 + duration: 109.967875ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -847,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,14 +1182,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.564667ms - - id: 24 + duration: 110.721791ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -883,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -894,14 +1218,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.751ms - - id: 25 + duration: 109.011375ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -919,7 +1243,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: @@ -930,14 +1254,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.11925ms - - id: 26 + duration: 170.138417ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -955,7 +1279,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: @@ -966,14 +1290,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 - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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.949958ms - - id: 27 + duration: 110.603875ms + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -991,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -1002,14 +1326,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.990209ms - - id: 28 + duration: 92.526334ms + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -1027,7 +1351,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: @@ -1038,14 +1362,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.886792ms - - id: 29 + duration: 100.974084ms + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -1063,7 +1387,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: @@ -1074,14 +1398,86 @@ 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 - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 125.95425ms - - id: 30 + duration: 112.204125ms + - id: 39 + 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_ErEXdPRseKxfTUdl","rol_bEofgIaLEp8cY3mm"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/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: 101.14225ms + - id: 40 + 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/testaccdatasourceuser","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/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.313667ms + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -1098,7 +1494,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: DELETE response: @@ -1115,8 +1511,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 373.449833ms - - id: 31 + duration: 326.154333ms + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,8 +1530,8 @@ interactions: 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_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: DELETE response: proto: HTTP/2.0 @@ -1151,8 +1547,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.77825ms - - id: 32 + duration: 134.075667ms + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -1170,8 +1566,8 @@ interactions: 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_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: DELETE response: proto: HTTP/2.0 @@ -1187,4 +1583,75 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.92375ms + duration: 98.964ms + - id: 44 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","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: 196.227875ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc + 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: 167.046875ms diff --git a/test/data/recordings/TestAccDataSourceUserDoesNotExist.yaml b/test/data/recordings/TestAccDataSourceUserDoesNotExist.yaml deleted file mode 100644 index 97a3bd1c0..000000000 --- a/test/data/recordings/TestAccDataSourceUserDoesNotExist.yaml +++ /dev/null @@ -1,39 +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/1.0.0-beta.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Cthis-user-id-does-not-exist - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The user does not exist.","errorCode":"inexistent_user"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 139.946625ms diff --git a/test/data/recordings/TestAccUser.yaml b/test/data/recordings/TestAccUser.yaml index b422dec0d..c910ce776 100644 --- a/test/data/recordings/TestAccUser.yaml +++ b/test/data/recordings/TestAccUser.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 527 uncompressed: false - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 248.238459ms + duration: 225.793375ms - id: 1 request: proto: HTTP/1.1 @@ -55,7 +55,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.410583ms + duration: 91.6935ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.523541ms + duration: 90.321458ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -138,34 +138,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.253083ms + duration: 107.8995ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 128 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Firstname Lastname","given_name":"Firstname","family_name":"Lastname","picture":"https://www.example.com/picture.jpg"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.787458ms + duration: 104.198208ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.44325ms + duration: 99.773ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser 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: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 250.7005ms + duration: 103.39225ms - id: 7 request: proto: HTTP/1.1 @@ -271,7 +271,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -282,34 +282,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.557625ms + duration: 97.32125ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 85 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 223.96575ms + duration: 110.002292ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -354,34 +354,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.051ms + duration: 89.554667ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 128 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Firstname Lastname","given_name":"Firstname","family_name":"Lastname","picture":"https://www.example.com/picture.jpg"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.938917ms + duration: 101.023375ms - id: 11 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -426,34 +426,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.122875ms + duration: 104.969583ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 85 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{"baz":null,"foo":"bars"},"app_metadata":{"baz":null,"foo":"bars"}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.798041ms + duration: 98.391208ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser 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: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.268541ms + duration: 104.189792ms - id: 14 request: proto: HTTP/1.1 @@ -523,7 +523,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.412125ms + duration: 92.7685ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -570,34 +570,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.971208ms + duration: 90.747917ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 39 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{},"app_metadata":{}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.428625ms + duration: 108.201875ms - id: 17 request: proto: HTTP/1.1 @@ -631,7 +631,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.420667ms + duration: 143.742917ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser 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: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.237625ms + duration: 98.70675ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -714,194 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.7275ms + duration: 89.437ms - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 68 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Owner testaccuser","description":"Owner testaccuser"} - form: {} - 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 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.213834ms - - 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/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.015083ms - - 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/roles/rol_Ul86Axvy6lNVDVHe/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.506625ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 76 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Admin testaccuser","description":"Administrator testaccuser"} - form: {} - 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 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.629375ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.886375ms - - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -919,45 +739,9 @@ interactions: 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_EyHI059ZgvmqKkzx/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: 106.245375ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -966,1922 +750,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.516375ms - - id: 27 - 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_Ul86Axvy6lNVDVHe","rol_EyHI059ZgvmqKkzx"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 106.124417ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.047959ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.718833ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 109.132042ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.978083ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe/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: 150.340167ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.661292ms - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/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: 129.443584ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.831917ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.258584ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 293.895625ms - - id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.297208ms - - id: 39 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.634291ms - - id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/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.918959ms - - id: 41 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe/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: 112.727208ms - - id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.369917ms - - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.829334ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 109.584458ms - - id: 45 - 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_Ul86Axvy6lNVDVHe - 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: 106.8115ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"baz":null,"foo":"bars"},"app_metadata":{"baz":null,"foo":"bars"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.381375ms - - id: 47 - 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_Ul86Axvy6lNVDVHe"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 116.848125ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.436042ms - - id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.131875ms - - id: 50 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 125.04825ms - - id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - 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_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.513834ms - - id: 52 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - 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_EyHI059ZgvmqKkzx/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.378875ms - - id: 53 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.514292ms - - id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.665334ms - - id: 55 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 103.325792ms - - id: 56 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.63725ms - - id: 57 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - 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_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.711125ms - - id: 58 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.012708ms - - id: 59 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 129.594541ms - - id: 60 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - 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_EyHI059ZgvmqKkzx/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: 167.678083ms - - id: 61 - 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_EyHI059ZgvmqKkzx - 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: 163.402292ms - - id: 62 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 93 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.626292ms - - id: 63 - 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_EyHI059ZgvmqKkzx"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 109.86075ms - - id: 64 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.578125ms - - id: 65 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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.63875ms - - id: 66 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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.176792ms - - id: 67 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 220.742375ms - - 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%7Ctestaccuser/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.202ms - - id: 69 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/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: 108.87525ms - - id: 70 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.426916ms - - 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%7Ctestaccuser/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.8545ms - - 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%7Ctestaccuser/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.435709ms - - id: 73 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 39 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{},"app_metadata":{}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 135.045917ms - - 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/users/auth0%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.899792ms - - 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/users/auth0%7Ctestaccuser/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: 144.45925ms - - 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%7Ctestaccuser/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: 161.567125ms - - 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%7Ctestaccuser - 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-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.037542ms - - 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%7Ctestaccuser/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: 133.411792ms - - 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%7Ctestaccuser/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: 143.759041ms - - id: 80 + duration: 105.889541ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -2898,7 +774,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: DELETE response: @@ -2915,4 +791,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 385.755708ms + duration: 200.687166ms diff --git a/test/data/recordings/TestAccUserChangeUsername.yaml b/test/data/recordings/TestAccUserChangeUsername.yaml index 24188fa39..9355bca3c 100644 --- a/test/data/recordings/TestAccUserChangeUsername.yaml +++ b/test/data/recordings/TestAccUserChangeUsername.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 581 uncompressed: false - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 317.746791ms + duration: 326.085458ms - 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/users/auth0%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 194.526ms + duration: 94.972042ms - 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/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.641917ms + duration: 110.598292ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ 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%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -138,34 +138,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.494125ms + duration: 93.687417ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 28 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"username":"user_x_terra"} 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%7C645aabbf92fae3f2bc9fa307 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.494ms + duration: 224.902875ms - 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%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.89325ms + duration: 101.234291ms - 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/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 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: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.491084ms + duration: 106.13975ms - 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%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -282,446 +282,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.604083ms + duration: 101.91125ms - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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.220291ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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: 109.235667ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 28 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"username":"user_x_terra"} - 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%7C645aabbf92fae3f2bc9fa307 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 158.450166ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - 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-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 228.196542ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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.305666ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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: 128.380625ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - 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-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.924584ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.833083ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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.042167ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - 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-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.923417ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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.91ms - - 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.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/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: 168.606959ms - - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -738,8 +306,8 @@ 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%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: DELETE response: proto: HTTP/2.0 @@ -755,4 +323,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 175.681084ms + duration: 172.218583ms diff --git a/test/data/recordings/TestAccUserPermission.yaml b/test/data/recordings/TestAccUserPermission.yaml index e10a8e9d4..2c28c92e9 100644 --- a/test/data/recordings/TestAccUserPermission.yaml +++ b/test/data/recordings/TestAccUserPermission.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 336 uncompressed: false - body: '{"id":"6492b8573ff8b885a253ddd4","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":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 112.543125ms + duration: 125.006667ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 94.330042ms + duration: 93.502667ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 96.229542ms + duration: 94.036541ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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":"64ad8398cd43bc9d5a683588","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: 102.405375ms + duration: 113.256375ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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":"64ad8398cd43bc9d5a683588","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.602125ms + duration: 94.68625ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: 587 uncompressed: false - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 239.557166ms + duration: 254.0975ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -246,49 +246,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 178.813166ms + duration: 91.0205ms - id: 7 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.2 - 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/1.0.0-beta.0 + 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: 142.559333ms + status: 201 Created + code: 201 + duration: 124.328458ms - id: 8 request: proto: HTTP/1.1 @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -318,49 +318,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: 92.841958ms + duration: 105.974417ms - id: 9 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 103.275458ms + status: 200 OK + code: 200 + duration: 113.230125ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -390,13 +390,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: 100.074541ms + duration: 99.836125ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 94.738458ms + duration: 162.335334ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.061375ms + duration: 93.938334ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -498,13 +498,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: 146.420208ms + duration: 140.522625ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 92.15475ms + duration: 119.560208ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 96.257917ms + duration: 148.684083ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -606,13 +606,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":"64ad8398cd43bc9d5a683588","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: 94.068042ms + duration: 95.808959ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.647666ms + duration: 105.012959ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 87.527917ms + duration: 118.890042ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.449375ms + duration: 92.373667ms - id: 20 request: proto: HTTP/1.1 @@ -739,7 +739,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -756,7 +756,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.871042ms + duration: 141.285791ms - id: 21 request: proto: HTTP/1.1 @@ -775,7 +775,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -792,7 +792,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.400625ms + duration: 126.395834ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission 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 - 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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.7835ms + duration: 108.974375ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 113.157041ms + duration: 155.936125ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -894,13 +894,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: 101.176625ms + duration: 102.17225ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,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":"64ad8398cd43bc9d5a683588","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.725417ms + duration: 93.613792ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 97.387667ms + duration: 116.388291ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.306458ms + duration: 95.868625ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1044,43 +1044,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.290542ms + duration: 100.963208ms - id: 29 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: '{"id":"6492b8573ff8b885a253ddd4","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"}]}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.394583ms + status: 201 Created + code: 201 + duration: 102.225625ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 85.530792ms + duration: 94.763541ms - id: 31 request: proto: HTTP/1.1 @@ -1135,7 +1135,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.785167ms + duration: 96.938292ms - id: 32 request: proto: HTTP/1.1 @@ -1171,7 +1171,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1188,7 +1188,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.525291ms + duration: 104.803458ms - id: 33 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1218,13 +1218,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: 91.997458ms + duration: 111.71525ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,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: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.455958ms + duration: 95.798125ms - id: 35 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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: 2 - 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: 201 Created - code: 201 - duration: 101.083833ms + status: 200 OK + code: 200 + duration: 94.599ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: 91.482375ms + duration: 101.347459ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 88.167958ms + duration: 92.016292ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 91.676791ms + duration: 92.350375ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.395333ms + duration: 100.262042ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 122.180541ms + duration: 96.113167ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1506,13 +1506,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: 115.458584ms + duration: 116.344292ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission 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 - 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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.246375ms + duration: 149.835ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 94.005458ms + duration: 102.087333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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.587125ms + duration: 105.510041ms - id: 45 request: proto: HTTP/1.1 @@ -1639,7 +1639,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.147625ms + duration: 118.666417ms - id: 46 request: proto: HTTP/1.1 @@ -1675,7 +1675,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1692,7 +1692,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.580458ms + duration: 94.192875ms - id: 47 request: proto: HTTP/1.1 @@ -1711,7 +1711,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1728,7 +1728,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.033125ms + duration: 121.384ms - id: 48 request: proto: HTTP/1.1 @@ -1747,7 +1747,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1764,7 +1764,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.232459ms + duration: 115.9905ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: 96.767792ms + duration: 109.064083ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 116.254375ms + duration: 90.605625ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 133.117958ms + duration: 157.578833ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.600667ms + duration: 94.316208ms - id: 53 request: proto: HTTP/1.1 @@ -1927,7 +1927,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.632416ms + duration: 110.903166ms - id: 54 request: proto: HTTP/1.1 @@ -1963,7 +1963,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: 129.456041ms + duration: 114.033333ms - id: 55 request: proto: HTTP/1.1 @@ -1999,7 +1999,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2016,7 +2016,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.940083ms + duration: 96.164416ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.597458ms + duration: 99.59575ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 108.791708ms + duration: 112.615084ms - id: 58 request: proto: HTTP/1.1 @@ -2107,7 +2107,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2124,79 +2124,79 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.97225ms + duration: 90.491083ms - id: 59 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.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 + - Go-Auth0/1.0.0-beta.0 + 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: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.02475ms + status: 204 No Content + code: 204 + duration: 101.935708ms - id: 60 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.79175ms + status: 204 No Content + code: 204 + duration: 94.108125ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.917ms + duration: 97.498208ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2262,13 +2262,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: 93.381791ms + duration: 103.942833ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.465833ms + duration: 115.205625ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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.080667ms + duration: 101.442209ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2370,13 +2370,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":"64ad8398cd43bc9d5a683588","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: 136.575708ms + duration: 98.603083ms - id: 66 request: proto: HTTP/1.1 @@ -2395,7 +2395,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 368.483542ms + duration: 92.164167ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.53975ms + duration: 103.48725ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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,85 +2478,85 @@ 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: 102.967708ms + duration: 165.080625ms - id: 69 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + 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: 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: 87.113667ms + status: 200 OK + code: 200 + duration: 112.8565ms - id: 70 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + 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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 102.733209ms + status: 200 OK + code: 200 + duration: 111.232375ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 90.398166ms + duration: 103.298584ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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,13 +2622,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: 126.060583ms + duration: 103.391833ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 102.699833ms + duration: 100.829916ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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":"64ad8398cd43bc9d5a683588","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.654083ms + duration: 100.9245ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.600667ms + duration: 103.710541ms - id: 76 request: proto: HTTP/1.1 @@ -2755,7 +2755,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.385792ms + duration: 107.51975ms - id: 77 request: proto: HTTP/1.1 @@ -2791,7 +2791,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -2808,7 +2808,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.833792ms + duration: 96.968292ms - id: 78 request: proto: HTTP/1.1 @@ -2827,7 +2827,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2844,7 +2844,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.235083ms + duration: 107.73625ms - id: 79 request: proto: HTTP/1.1 @@ -2863,7 +2863,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.16425ms + duration: 102.002417ms - id: 80 request: proto: HTTP/1.1 @@ -2899,7 +2899,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -2916,7 +2916,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.860417ms + duration: 95.457208ms - id: 81 request: proto: HTTP/1.1 @@ -2935,7 +2935,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2952,7 +2952,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.889041ms + duration: 104.718209ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 105.417708ms + duration: 90.363334ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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.870583ms + duration: 93.956125ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3054,49 +3054,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.964625ms + duration: 99.817125ms - id: 85 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 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"},{"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/resource-servers/6492b8573ff8b885a253ddd4 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: '{"id":"6492b8573ff8b885a253ddd4","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"}]}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 84.292583ms + status: 201 Created + code: 201 + duration: 98.343292ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 91.380416ms + duration: 109.296791ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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.163833ms + duration: 93.066833ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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.825208ms + duration: 93.4045ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.250458ms + duration: 100.443166ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 97.204584ms + duration: 98.753041ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3306,13 +3306,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: 87.1145ms + duration: 101.996625ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission 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: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.640083ms + duration: 99.076542ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 97.0485ms + duration: 97.941791ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3414,13 +3414,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: 152.539166ms + duration: 103.023916ms - id: 95 request: proto: HTTP/1.1 @@ -3439,7 +3439,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3450,13 +3450,13 @@ 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: 102.601ms + duration: 111.016083ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.591791ms + duration: 90.369667ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 86.359542ms + duration: 110.738292ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 94.741792ms + duration: 104.31675ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 95.399ms + duration: 96.025333ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3630,49 +3630,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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.519875ms + duration: 98.62975ms - id: 101 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 278 + 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"},{"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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 129.427625ms + status: 200 OK + code: 200 + duration: 89.342209ms - id: 102 request: proto: HTTP/1.1 @@ -3691,7 +3691,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3708,7 +3708,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.495667ms + duration: 100.767042ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 86.48125ms + duration: 106.786833ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 86.253333ms + duration: 107.226125ms - id: 105 request: proto: HTTP/1.1 @@ -3799,7 +3799,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.458792ms + duration: 109.73275ms - id: 106 request: proto: HTTP/1.1 @@ -3835,7 +3835,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -3852,7 +3852,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.637917ms + duration: 94.452583ms - id: 107 request: proto: HTTP/1.1 @@ -3871,7 +3871,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3888,7 +3888,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.695959ms + duration: 164.340208ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.448542ms + duration: 129.694292ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3954,13 +3954,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: 121.883292ms + duration: 109.420833ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 96.015875ms + duration: 103.976625ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.686417ms + duration: 98.246875ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4062,13 +4062,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: 104.982917ms + duration: 104.915834ms - id: 113 request: proto: HTTP/1.1 @@ -4087,7 +4087,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -4104,7 +4104,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.438958ms + duration: 118.444708ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 85.821ms + duration: 93.628ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","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: 84.05475ms + duration: 96.72075ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.218625ms + duration: 99.256542ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 93.525666ms + duration: 104.517584ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 97.134ms + duration: 103.086ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 96.478208ms + duration: 96.975ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.577625ms + duration: 101.566583ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4386,13 +4386,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: 104.613625ms + duration: 101.386375ms - id: 122 request: proto: HTTP/1.1 @@ -4411,7 +4411,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -4428,7 +4428,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.650917ms + duration: 99.402709ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,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-07-11T16:30:28.484Z","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-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.042584ms + duration: 95.189291ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4494,13 +4494,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: 100.600375ms + duration: 92.517208ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4530,178 +4530,177 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","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: 92.899125ms + duration: 101.848125ms - id: 126 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 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"},{"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/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: -1 - uncompressed: true - body: '{"roles":[],"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: 101.83025ms + status: 204 No Content + code: 204 + duration: 108.111375ms - id: 127 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.2 - 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/1.0.0-beta.0 + 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: -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}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.167041ms + status: 204 No Content + code: 204 + duration: 164.145417ms - id: 128 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.174584ms + status: 204 No Content + code: 204 + duration: 118.092542ms - id: 129 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + 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%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: DELETE 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: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.222958ms + status: 204 No Content + code: 204 + duration: 202.57225ms - id: 130 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"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/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4710,805 +4709,14 @@ 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":"64ad8398cd43bc9d5a683588","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: 127.739584ms + duration: 147.725584ms - 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-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.521417ms - - 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: 91.73525ms - - 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: 102.126416ms - - 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/6492b8573ff8b885a253ddd4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","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: 136.460291ms - - 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":"6492b8573ff8b885a253ddd4","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: 86.792708ms - - 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-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.286333ms - - 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%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: 107.053958ms - - 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%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.831042ms - - 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%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: 100.004917ms - - 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%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: 111.102708ms - - 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%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.509666ms - - 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%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-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.279208ms - - 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%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: 124.061833ms - - 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%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: 108.024542ms - - 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-21T08:44:08.292Z","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-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 162.694125ms - - 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: 127.434166ms - - 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: 95.3395ms - - 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: 117.902458ms - - 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: 117.900917ms - - 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: 102.850042ms - - id: 151 - 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%7Ctestaccuserpermission - 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: 232.718667ms - - 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":"6492b8573ff8b885a253ddd4","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: 204.229292ms - - id: 153 request: proto: HTTP/1.1 proto_major: 1 @@ -5525,8 +4733,8 @@ interactions: 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/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: DELETE response: proto: HTTP/2.0 @@ -5542,4 +4750,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 203.364375ms + duration: 169.17ms diff --git a/test/data/recordings/TestAccUserPermissions.yaml b/test/data/recordings/TestAccUserPermissions.yaml index adb8c96ac..faeb6b18b 100644 --- a/test/data/recordings/TestAccUserPermissions.yaml +++ b/test/data/recordings/TestAccUserPermissions.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 338 uncompressed: false - body: '{"id":"6492b7d730dc17244bff1af9","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":[]}' + body: '{"id":"64ad839803c3f299c768883a","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: 150.234667ms + duration: 119.307125ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":[]}' + body: '{"id":"64ad839803c3f299c768883a","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: 110.7455ms + duration: 88.091209ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":[]}' + body: '{"id":"64ad839803c3f299c768883a","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: 263.539875ms + duration: 91.472ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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: 102.073542ms + duration: 113.349667ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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.404417ms + duration: 83.3305ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: 593 uncompressed: false - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 229.880583ms + duration: 287.904084ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -246,49 +246,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.101583ms + duration: 92.613875ms - id: 7 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.2 - 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/1.0.0-beta.0 + 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: 103.273334ms + status: 201 Created + code: 201 + duration: 103.838625ms - id: 8 request: proto: HTTP/1.1 @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -318,49 +318,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: 138.271875ms + duration: 157.904792ms - id: 9 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 108.567292ms + status: 200 OK + code: 200 + duration: 104.492625ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -390,13 +390,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: 115.343708ms + duration: 143.55275ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 102.247667ms + duration: 97.941541ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 284.224583ms + duration: 173.034042ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -498,13 +498,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: 99.022375ms + duration: 125.887916ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 96.739833ms + duration: 100.471417ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","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: 99.934875ms + duration: 98.407625ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -606,13 +606,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":"64ad839803c3f299c768883a","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: 151.695958ms + duration: 100.316666ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.761083ms + duration: 87.191417ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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: 105.404792ms + duration: 112.754167ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.045584ms + duration: 123.490042ms - id: 20 request: proto: HTTP/1.1 @@ -739,7 +739,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -756,7 +756,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.87925ms + duration: 96.031917ms - id: 21 request: proto: HTTP/1.1 @@ -775,7 +775,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -792,7 +792,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.1495ms + duration: 94.116625ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions 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 - 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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.343375ms + duration: 121.951417ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 101.347041ms + duration: 113.930875ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -894,13 +894,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: 94.735458ms + duration: 106.085041ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -930,13 +930,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":"64ad839803c3f299c768883a","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: 117.778583ms + duration: 103.766458ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","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: 141.952ms + duration: 151.014084ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.800958ms + duration: 94.889834ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1044,43 +1044,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.3215ms + duration: 159.634ms - id: 29 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: '{"id":"6492b7d730dc17244bff1af9","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: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.182875ms + status: 201 Created + code: 201 + duration: 110.262375ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 110.887291ms + duration: 108.02025ms - id: 31 request: proto: HTTP/1.1 @@ -1135,7 +1135,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.905958ms + duration: 103.452917ms - id: 32 request: proto: HTTP/1.1 @@ -1171,7 +1171,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -1188,7 +1188,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.011792ms + duration: 96.362083ms - id: 33 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1218,13 +1218,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: 94.121042ms + duration: 103.6705ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,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: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.724208ms + duration: 94.431666ms - id: 35 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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: 2 - 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: 201 Created - code: 201 - duration: 123.187125ms + status: 200 OK + code: 200 + duration: 95.839208ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: 101.453417ms + duration: 118.401875ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","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: 111.63175ms + duration: 153.401958ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","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: 100.482416ms + duration: 102.688166ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.6195ms + duration: 104.414958ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 108.0625ms + duration: 114.736708ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.086ms + duration: 94.861958ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -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 - 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: 181.296334ms + duration: 98.080209ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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.618166ms + duration: 201.945542ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.95675ms + duration: 111.068875ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 90.009708ms + duration: 97.610958ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1686,13 +1686,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"}]},{"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: 102.975334ms + duration: 106.860292ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,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: '{"id":"64ad839803c3f299c768883a","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: 390.946125ms + duration: 107.253542ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1758,13 +1758,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: '{"id":"64ad839803c3f299c768883a","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: 122.221583ms + duration: 91.833541ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.549791ms + duration: 120.509667ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1830,49 +1830,49 @@ 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"}]},{"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.926667ms + duration: 109.764542ms - id: 51 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.2 - 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/1.0.0-beta.0 + 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: '{"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}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.162583ms + status: 204 No Content + code: 204 + duration: 120.535333ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 88.284458ms + duration: 103.088208ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.773375ms + duration: 99.286708ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -1974,13 +1974,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: 112.124625ms + duration: 96.404084ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 92.421167ms + duration: 111.590208ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.106959ms + duration: 101.917291ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 117.96625ms + duration: 115.931833ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2118,13 +2118,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: 112.53125ms + duration: 149.900084ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,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: '{"id":"64ad839803c3f299c768883a","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: 164.014333ms + duration: 91.133333ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2190,49 +2190,49 @@ 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: '{"id":"64ad839803c3f299c768883a","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.921542ms + duration: 109.88775ms - id: 61 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + 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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 106.062291ms + status: 200 OK + code: 200 + duration: 101.120667ms - id: 62 request: proto: HTTP/1.1 @@ -2251,7 +2251,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2268,7 +2268,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.500167ms + duration: 112.642209ms - id: 63 request: proto: HTTP/1.1 @@ -2287,7 +2287,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.054ms + duration: 95.016125ms - id: 64 request: proto: HTTP/1.1 @@ -2323,7 +2323,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -2340,7 +2340,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.264042ms + duration: 104.270791ms - id: 65 request: proto: HTTP/1.1 @@ -2359,7 +2359,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2376,7 +2376,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.257666ms + duration: 137.011958ms - id: 66 request: proto: HTTP/1.1 @@ -2395,7 +2395,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.285291ms + duration: 99.859417ms - id: 67 request: proto: HTTP/1.1 @@ -2431,7 +2431,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -2448,7 +2448,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.12875ms + duration: 150.585917ms - id: 68 request: proto: HTTP/1.1 @@ -2467,7 +2467,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2484,7 +2484,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.754709ms + duration: 115.894708ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 102.688625ms + duration: 104.180917ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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: 153.804083ms + duration: 94.606791ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","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: 97.670333ms + duration: 107.60475ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.628458ms + duration: 84.565709ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,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"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.85175ms + duration: 93.488292ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2694,13 +2694,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"}]}],"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.727292ms + duration: 123.203167ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 96.594834ms + duration: 111.65475ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.293541ms + duration: 102.006833ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2802,13 +2802,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"}]}],"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: 97.892959ms + duration: 102.081459ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2838,49 +2838,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 101.239792ms + duration: 151.182125ms - id: 79 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.2 - 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/1.0.0-beta.0 + 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: '{"roles":[],"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: 97.757375ms + status: 204 No Content + code: 204 + duration: 102.820083ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,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"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.841583ms + duration: 105.174792ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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: 96.653167ms + duration: 100.37475ms - id: 82 request: proto: HTTP/1.1 @@ -2971,7 +2971,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2982,13 +2982,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"}]}],"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: 97.930333ms + duration: 152.629708ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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: 94.620083ms + duration: 101.706375ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","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: 91.174209ms + duration: 92.239708ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.229167ms + duration: 169.752167ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,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"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.85275ms + duration: 86.32175ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 98.127334ms + duration: 129.316ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3198,13 +3198,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: 106.945666ms + duration: 121.52325ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,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"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.424334ms + duration: 98.131083ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 101.825208ms + duration: 91.243167ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3306,13 +3306,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: 112.446791ms + duration: 105.054709ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3342,49 +3342,49 @@ 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"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad839803c3f299c768883a","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.517792ms + duration: 126.286875ms - id: 93 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + 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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"64ad839803c3f299c768883a","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: 204 No Content - code: 204 - duration: 113.204875ms + status: 200 OK + code: 200 + duration: 89.437916ms - id: 94 request: proto: HTTP/1.1 @@ -3403,7 +3403,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.77175ms + duration: 101.800875ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.129166ms + duration: 92.816917ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3486,13 +3486,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: 102.209625ms + duration: 97.562333ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.310291ms + duration: 108.246167ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.820208ms + duration: 103.760333ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 112.765584ms + duration: 100.312417ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3630,13 +3630,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: 155.288666ms + duration: 99.138417ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","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.421292ms + duration: 90.799667ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","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: 92.50475ms + duration: 94.991375ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3738,49 +3738,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.968916ms + duration: 108.076708ms - id: 104 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.2 - 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/1.0.0-beta.0 + 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: 103.878375ms + status: 201 Created + code: 201 + duration: 102.764542ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -3810,49 +3810,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 106.411542ms + duration: 154.125541ms - id: 106 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.2 - 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/1.0.0-beta.0 + 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: 98.677166ms + status: 201 Created + code: 201 + duration: 113.250625ms - id: 107 request: proto: HTTP/1.1 @@ -3871,7 +3871,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -3882,13 +3882,13 @@ 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"}]},{"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.22325ms + duration: 150.924166ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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: 112.708666ms + duration: 93.232375ms - id: 109 request: proto: HTTP/1.1 @@ -3943,7 +3943,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"64ad839803c3f299c768883a","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: 93.332ms + duration: 91.128125ms - id: 110 request: proto: HTTP/1.1 @@ -3979,7 +3979,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.058083ms + duration: 89.505209ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4026,13 +4026,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"}]},{"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.212791ms + duration: 107.841042ms - id: 112 request: proto: HTTP/1.1 @@ -4051,7 +4051,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4062,13 +4062,13 @@ 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"}]},{"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: 173.4385ms + duration: 103.306042ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 128.855792ms + duration: 237.768166ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.602625ms + duration: 96.4545ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4170,13 +4170,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: 108.5015ms + duration: 98.268625ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 118.595042ms + duration: 109.996042ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","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: 117.532042ms + duration: 103.2775ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","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.13175ms + duration: 92.983959ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.444625ms + duration: 97.980166ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 137.641292ms + duration: 157.385375ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 114.617583ms + duration: 147.681833ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4422,13 +4422,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"}]},{"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: 92.480541ms + duration: 109.54375ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4458,49 +4458,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.258417ms + duration: 97.568875ms - id: 124 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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: 2 - 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: 201 Created - code: 201 - duration: 103.954667ms + status: 200 OK + code: 200 + duration: 105.067708ms - id: 125 request: proto: HTTP/1.1 @@ -4519,7 +4519,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4530,49 +4530,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: 110.525667ms + duration: 105.609625ms - id: 126 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.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + 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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 109.001584ms + status: 200 OK + code: 200 + duration: 98.606541ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4602,13 +4602,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: 93.524083ms + duration: 106.80925ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 134.11ms + duration: 109.2815ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4674,13 +4674,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.223333ms + duration: 104.414292ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 95.22025ms + duration: 102.9535ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4746,13 +4746,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"}]},{"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.4925ms + duration: 103.722708ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -4782,13 +4782,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: '{"id":"64ad839803c3f299c768883a","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: 96.262542ms + duration: 106.1105ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4818,13 +4818,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: '{"id":"64ad839803c3f299c768883a","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: 100.770459ms + duration: 89.244333ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.7805ms + duration: 98.465167ms - id: 135 request: proto: HTTP/1.1 @@ -4879,7 +4879,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4896,7 +4896,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.238917ms + duration: 109.193208ms - id: 136 request: proto: HTTP/1.1 @@ -4915,8 +4915,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4926,13 +4926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","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: 95.693208ms + duration: 105.251208ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -4962,13 +4962,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"}]},{"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: 99.244291ms + duration: 95.578833ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-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 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,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-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.109791ms + duration: 95.73625ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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: 83.063917ms + duration: 112.377375ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: 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 + - Go-Auth0/1.0.0-beta.0 + 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 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":"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: 103.374583ms + duration: 122.576291ms - id: 141 request: proto: HTTP/1.1 @@ -5095,7 +5095,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","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-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.36575ms + duration: 112.039375ms - id: 142 request: proto: HTTP/1.1 @@ -5131,7 +5131,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -5148,7 +5148,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.419791ms + duration: 95.39275ms - id: 143 request: proto: HTTP/1.1 @@ -5167,7 +5167,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -5184,980 +5184,44 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.62475ms + duration: 138.833333ms - id: 144 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 280 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"},{"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?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + 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: '{"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: 106.223334ms - - 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: 102.128583ms - - 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: 108.959083ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.428ms - - 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: 106.437584ms - - 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: 127.541584ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.123125ms - - 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: 95.7235ms - - 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: 102.314083ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.448708ms - - 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: 95.610375ms - - 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: 94.692833ms - - 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/6492b7d730dc17244bff1af9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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: 99.040834ms - - 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":"6492b7d730dc17244bff1af9","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.332875ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.126084ms - - 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: 101.602125ms - - 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: 107.369666ms - - 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: 94.616583ms - - 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: 100.072417ms - - 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: 106.445625ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.438458ms - - 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: 95.260917ms - - 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: 114.75325ms - - 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-21T08:42:00.786Z","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-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.940917ms - - 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: 104.648875ms - - 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: 103.997084ms - - 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: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 100.372208ms - - id: 171 + duration: 112.552042ms + - id: 145 request: proto: HTTP/1.1 proto_major: 1 @@ -6175,7 +5239,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions method: DELETE response: @@ -6192,8 +5256,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 105.9345ms - - id: 172 + duration: 111.776709ms + - id: 146 request: proto: HTTP/1.1 proto_major: 1 @@ -6211,7 +5275,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions method: DELETE response: @@ -6228,8 +5292,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 97.91125ms - - id: 173 + duration: 165.092333ms + - id: 147 request: proto: HTTP/1.1 proto_major: 1 @@ -6246,7 +5310,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: DELETE response: @@ -6263,8 +5327,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 214.06025ms - - id: 174 + duration: 200.074292ms + - id: 148 request: proto: HTTP/1.1 proto_major: 1 @@ -6282,7 +5346,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 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: @@ -6293,14 +5357,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","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":[]}' + body: '{"id":"64ad839803c3f299c768883a","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: 159.9885ms - - id: 175 + duration: 159.965875ms + - id: 149 request: proto: HTTP/1.1 proto_major: 1 @@ -6317,8 +5381,8 @@ interactions: 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/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: DELETE response: proto: HTTP/2.0 @@ -6334,4 +5398,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 322.010041ms + duration: 160.11775ms diff --git a/test/data/recordings/TestAccUserRole.yaml b/test/data/recordings/TestAccUserRole.yaml index 412716427..640e717ee 100644 --- a/test/data/recordings/TestAccUserRole.yaml +++ b/test/data/recordings/TestAccUserRole.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.243916ms + duration: 114.570084ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.773625ms + duration: 110.549292ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,7 +108,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.753083ms + duration: 95.676209ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.999625ms + duration: 152.677917ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.198708ms + duration: 95.985666ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,7 +216,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.476667ms + duration: 108.5665ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: 569 uncompressed: false - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 230.330666ms + duration: 231.447208ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.0715ms + duration: 101.345416ms - id: 8 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_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + 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: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 202.070584ms + status: 204 No Content + code: 204 + duration: 126.15225ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.8965ms + duration: 106.1045ms - id: 10 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_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd + 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-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 105.064167ms + status: 200 OK + code: 200 + duration: 87.793709ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.407291ms + duration: 141.719333ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.989291ms + duration: 115.597417ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.582416ms + duration: 93.442041ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.727959ms + duration: 148.488792ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.783833ms + duration: 130.78875ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.860541ms + duration: 96.038583ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -648,7 +648,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.681625ms + duration: 114.005792ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.525708ms + duration: 115.886584ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -720,7 +720,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.45225ms + duration: 100.377041ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.926916ms + duration: 103.362459ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.7065ms + duration: 103.484666ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.703875ms + duration: 106.544667ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.807416ms + duration: 117.006583ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -900,7 +900,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.726667ms + duration: 138.728958ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.227917ms + duration: 98.213ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.332375ms + duration: 92.889375ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 148.525333ms + duration: 105.96975ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.947042ms + duration: 189.476333ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.123292ms + duration: 106.335667ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.837625ms + duration: 99.74ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&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: 107.815708ms + duration: 130.389791ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.019959ms + duration: 95.316417ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,49 +1218,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.346417ms + duration: 111.421625ms - id: 34 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_Ou6c2dpzTk5FCHjg"]} form: {} 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_FcXCT6pr8c1zSudR - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.692084ms + status: 204 No Content + code: 204 + duration: 106.084833ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.628625ms + duration: 115.443417ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.445083ms + duration: 97.020667ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.160917ms + duration: 103.102167ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1404,7 +1404,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.748375ms + duration: 329.731292ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.4115ms + duration: 155.04725ms - id: 40 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_FcXCT6pr8c1zSudR"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 106.9045ms + status: 200 OK + code: 200 + duration: 101.098875ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 101.387625ms + duration: 107.687833ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.895959ms + duration: 107.334917ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 107.444625ms + duration: 113.780375ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.412041ms + duration: 99.045584ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.114041ms + duration: 98.916542ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.703958ms + duration: 102.567958ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.140834ms + duration: 155.575542ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.2095ms + duration: 107.119458ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.728208ms + duration: 100.102208ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.432167ms + duration: 101.087792ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1872,7 +1872,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.216584ms + duration: 102.970125ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.338125ms + duration: 96.07025ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.171375ms + duration: 97.486125ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: 145.052458ms + duration: 169.072291ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.41325ms + duration: 98.556ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.8065ms + duration: 156.407084ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.269709ms + duration: 115.594459ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 101.113458ms + duration: 158.339291ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.915125ms + duration: 109.477208ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/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: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.168125ms + duration: 155.501417ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.543334ms + duration: 110.965208ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.481459ms + duration: 99.552042ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.195625ms + duration: 152.959ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 135.654625ms + duration: 98.932291ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.700083ms + duration: 100.155416ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&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_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.627958ms + duration: 106.439667ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,85 +2442,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.73225ms + duration: 109.935958ms - id: 68 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_Ou6c2dpzTk5FCHjg"]} form: {} 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: 103.518917ms + status: 204 No Content + code: 204 + duration: 100.370042ms - id: 69 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_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.212833ms + status: 204 No Content + code: 204 + duration: 101.402167ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.305584ms + duration: 97.067625ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,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: 104.575833ms + duration: 105.432292ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.727125ms + duration: 103.5855ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.803458ms + duration: 130.718208ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2700,7 +2700,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.33725ms + duration: 104.15775ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.289042ms + duration: 104.328459ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 101.299292ms + duration: 107.994834ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2802,85 +2802,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.960666ms + duration: 104.317041ms - id: 78 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_FcXCT6pr8c1zSudR"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd + 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-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 118.500542ms + status: 200 OK + code: 200 + duration: 96.840125ms - id: 79 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_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: 96.934583ms + status: 200 OK + code: 200 + duration: 100.259625ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.959334ms + duration: 117.766416ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd 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: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.536125ms + duration: 96.168333ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 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: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.950208ms + duration: 97.931833ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?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: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.583ms + duration: 116.6155ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.108833ms + duration: 90.683334ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.030334ms + duration: 110.644667ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.474334ms + duration: 100.768334ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.825458ms + duration: 101.753584ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.851083ms + duration: 111.474417ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.483583ms + duration: 106.680583ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.368542ms + duration: 129.056125ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"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: 101.532ms + duration: 133.722667ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd 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: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.5145ms + duration: 95.604584ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.197584ms + duration: 108.742208ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,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: 99.331417ms + duration: 113.207459ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.894125ms + duration: 98.8625ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.231584ms + duration: 102.326083ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg 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: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.948708ms + duration: 111.738125ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.833875ms + duration: 104.192375ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3594,49 +3594,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.472208ms + duration: 105.666291ms - id: 100 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_Ou6c2dpzTk5FCHjg","rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.54925ms + status: 204 No Content + code: 204 + duration: 109.73525ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.563333ms + duration: 163.230375ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt 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: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.580917ms + duration: 108.996958ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&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-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.031125ms + duration: 99.159042ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.924416ms + duration: 99.998208ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3816,7 +3816,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.286ms + duration: 99.732959ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.729167ms + duration: 119.62625ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.518833ms + duration: 106.65375ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.338833ms + duration: 111.6915ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.231333ms + duration: 92.862791ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.920875ms + duration: 106.490167ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.45425ms + duration: 121.834916ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 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: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.811459ms + duration: 101.499875ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.355917ms + duration: 94.71625ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?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":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.306875ms + duration: 98.66975ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4176,43 +4176,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.45375ms + duration: 102.209917ms - id: 116 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_FcXCT6pr8c1zSudR","rol_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt + 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":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 105.292542ms + status: 200 OK + code: 200 + duration: 92.656834ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 100.157542ms + duration: 112.611625ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.404ms + duration: 89.673125ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4320,7 +4320,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.85975ms + duration: 106.166958ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.474375ms + duration: 97.628ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.539375ms + duration: 116.876834ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.335125ms + duration: 106.662083ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.728542ms + duration: 106.811166ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.432ms + duration: 89.676959ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4530,13 +4530,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.445625ms + duration: 102.00775ms - id: 126 request: proto: HTTP/1.1 @@ -4555,8 +4555,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4566,13 +4566,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 101.952291ms + duration: 103.936666ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.603583ms + duration: 121.301583ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.670459ms + duration: 105.2575ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4680,7 +4680,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.653833ms + duration: 108.163583ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.250917ms + duration: 95.003333ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.230334ms + duration: 111.934167ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4782,13 +4782,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 239.357916ms + duration: 177.811708ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.804042ms + duration: 147.527958ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.044167ms + duration: 106.40375ms - id: 135 request: proto: HTTP/1.1 @@ -4879,8 +4879,8 @@ interactions: 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_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -4890,13 +4890,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.585291ms + duration: 99.639917ms - id: 136 request: proto: HTTP/1.1 @@ -4915,8 +4915,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4926,13 +4926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.718125ms + duration: 155.656167ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: 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_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.725292ms + duration: 164.303958ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.999333ms + duration: 159.429542ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.351834ms + duration: 108.468541ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.426334ms + duration: 103.113792ms - id: 141 request: proto: HTTP/1.1 @@ -5095,8 +5095,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.292417ms + duration: 117.079ms - id: 142 request: proto: HTTP/1.1 @@ -5131,8 +5131,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5142,13 +5142,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.017542ms + duration: 97.488208ms - id: 143 request: proto: HTTP/1.1 @@ -5167,8 +5167,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5178,13 +5178,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 107.873458ms + duration: 108.2525ms - id: 144 request: proto: HTTP/1.1 @@ -5203,8 +5203,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -5214,13 +5214,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","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-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.109375ms + duration: 101.677042ms - id: 145 request: proto: HTTP/1.1 @@ -5239,8 +5239,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5250,13 +5250,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.020584ms + duration: 111.498667ms - id: 146 request: proto: HTTP/1.1 @@ -5275,8 +5275,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5292,908 +5292,116 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.095916ms + duration: 98.862458ms - id: 147 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_Ou6c2dpzTk5FCHjg"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.730125ms + status: 204 No Content + code: 204 + duration: 110.455416ms - id: 148 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_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"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: 101.117125ms + status: 204 No Content + code: 204 + duration: 104.554458ms - id: 149 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_Ou6c2dpzTk5FCHjg","rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/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}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 231.736ms - - 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%7C6492b76e877f08093c04a00d - 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-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.328208ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 167.680042ms - - 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%7C6492b76e877f08093c04a00d/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.052166ms - - 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_Q13JLiyRRoXPPxGX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.642875ms - - 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_Q13JLiyRRoXPPxGX/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.555375ms - - 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_FcXCT6pr8c1zSudR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.217ms - - 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_FcXCT6pr8c1zSudR/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: 108.425833ms - - 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%7C6492b76e877f08093c04a00d - 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-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.27275ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.286333ms - - 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%7C6492b76e877f08093c04a00d/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.033625ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.510917ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 177.835875ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.482291ms - - 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%7C6492b76e877f08093c04a00d - 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-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.564917ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.683541ms - - 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%7C6492b76e877f08093c04a00d/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: 108.150667ms - - 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%7C6492b76e877f08093c04a00d - 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-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","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-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.718041ms - - 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%7C6492b76e877f08093c04a00d/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_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.148166ms - - 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%7C6492b76e877f08093c04a00d/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: 103.367833ms - - 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_FcXCT6pr8c1zSudR"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/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.251958ms - - 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_Q13JLiyRRoXPPxGX"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/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: 101.686709ms - - 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_FcXCT6pr8c1zSudR","rol_Q13JLiyRRoXPPxGX"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 105.516125ms - - id: 172 + duration: 98.975834ms + - id: 150 request: proto: HTTP/1.1 proto_major: 1 @@ -6210,8 +5418,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: DELETE response: proto: HTTP/2.0 @@ -6227,8 +5435,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 269.050583ms - - id: 173 + duration: 244.394458ms + - id: 151 request: proto: HTTP/1.1 proto_major: 1 @@ -6246,8 +5454,8 @@ interactions: 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_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: DELETE response: proto: HTTP/2.0 @@ -6263,8 +5471,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.222459ms - - id: 174 + duration: 169.048667ms + - id: 152 request: proto: HTTP/1.1 proto_major: 1 @@ -6282,8 +5490,8 @@ interactions: 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_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: DELETE response: proto: HTTP/2.0 @@ -6299,4 +5507,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.6335ms + duration: 93.345917ms diff --git a/test/data/recordings/TestAccUserRoles.yaml b/test/data/recordings/TestAccUserRoles.yaml index 5e8e930b8..d86fb75b9 100644 --- a/test/data/recordings/TestAccUserRoles.yaml +++ b/test/data/recordings/TestAccUserRoles.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.903917ms + duration: 102.847333ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.832459ms + duration: 91.900417ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,7 +108,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.24625ms + duration: 95.327834ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.720292ms + duration: 112.061875ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.859917ms + duration: 89.066292ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,7 +216,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.373083ms + duration: 100.615083ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: 573 uncompressed: false - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 285.656959ms + duration: 253.827583ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.911916ms + duration: 98.268041ms - id: 8 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_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + 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: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.395375ms + status: 204 No Content + code: 204 + duration: 106.429708ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.035375ms + duration: 101.693625ms - id: 10 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_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 + 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-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 100.717625ms + status: 200 OK + code: 200 + duration: 97.831416ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.853833ms + duration: 106.040833ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.834375ms + duration: 157.997834ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.800666ms + duration: 100.020667ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.751167ms + duration: 111.017834ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.064917ms + duration: 105.396333ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.016333ms + duration: 134.229041ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -648,7 +648,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.574375ms + duration: 149.064958ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.179791ms + duration: 113.570584ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -720,7 +720,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.654375ms + duration: 98.838417ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 219.653791ms + duration: 95.569583ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.863084ms + duration: 107.343ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.490375ms + duration: 103.930875ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 197.806208ms + duration: 102.844458ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -900,7 +900,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.837875ms + duration: 100.191208ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.883875ms + duration: 185.446666ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.798959ms + duration: 104.057125ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 94.362833ms + duration: 117.528125ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.883833ms + duration: 106.148625ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.874166ms + duration: 99.748417ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.837291ms + duration: 88.38825ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&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: 104.906542ms + duration: 121.417792ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.621459ms + duration: 95.464583ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,49 +1218,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.87525ms + duration: 102.438834ms - id: 34 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_ac2lrjuNprcXCmZ6"]} form: {} 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_yagtKpp1oZPg5BLz - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.421625ms + status: 204 No Content + code: 204 + duration: 110.113208ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.082084ms + duration: 101.7655ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.591542ms + duration: 90.124291ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.738833ms + duration: 97.924875ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1404,7 +1404,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.492375ms + duration: 156.219042ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.255875ms + duration: 100.290959ms - id: 40 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_yagtKpp1oZPg5BLz"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.30575ms + status: 200 OK + code: 200 + duration: 122.030958ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 93.070333ms + duration: 111.368ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.409208ms + duration: 101.967125ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 96.071041ms + duration: 111.293333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.080709ms + duration: 100.257959ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.733584ms + duration: 101.666417ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 171.846834ms + duration: 100.394625ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.098ms + duration: 166.418875ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.635333ms + duration: 92.008375ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.574792ms + duration: 103.030167ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.060458ms + duration: 106.11ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.051ms + duration: 98.796875ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.042209ms + duration: 112.843542ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 103.83475ms + duration: 108.658125ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.0365ms + duration: 98.075334ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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.761958ms + duration: 98.843541ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.292667ms + duration: 98.212167ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/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: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 126.625959ms + duration: 112.902792ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 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: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.668875ms + duration: 91.424041ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2154,49 +2154,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.409167ms + duration: 115.800625ms - id: 60 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_ia0Ix9MLPRXChFdf","rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 97.573667ms + status: 204 No Content + code: 204 + duration: 107.014542ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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":[],"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: 121.510375ms + duration: 105.941084ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.001958ms + duration: 96.970666ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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":[],"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: 114.1675ms + duration: 102.095208ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.478917ms + duration: 108.258375ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 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: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.524792ms + duration: 97.453666ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.953666ms + duration: 98.154208ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 113.261959ms + duration: 119.486125ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.857875ms + duration: 96.950958ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,49 +2514,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 148.354958ms + duration: 110.227208ms - id: 70 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_vkoUpnlL6bXY4MC3","rol_yagtKpp1oZPg5BLz"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 + 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":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 111.244166ms + status: 200 OK + code: 200 + duration: 104.168542ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,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: 110.918916ms + duration: 204.758375ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.227209ms + duration: 102.573459ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2664,7 +2664,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.809833ms + duration: 100.719625ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.891ms + duration: 108.647791ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.946125ms + duration: 107.232708ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?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: '{"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: 95.55325ms + duration: 106.137416ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.368917ms + duration: 104.87125ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.305125ms + duration: 101.700334ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2880,7 +2880,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.303666ms + duration: 103.034292ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.352583ms + duration: 106.766709ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2952,7 +2952,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.957333ms + duration: 110.587125ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.327542ms + duration: 105.080625ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,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: 105.077958ms + duration: 93.9765ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.630875ms + duration: 99.296792ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3096,43 +3096,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.653542ms + duration: 90.814167ms - id: 86 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_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.169292ms + status: 204 No Content + code: 204 + duration: 106.089792ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.57975ms + duration: 99.658875ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.57675ms + duration: 102.206708ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.303875ms + duration: 145.465958ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,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: 99.174042ms + duration: 103.166417ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.426ms + duration: 131.831208ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.961333ms + duration: 101.098542ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3384,7 +3384,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.915791ms + duration: 111.019167ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.570417ms + duration: 92.623292ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3456,7 +3456,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.083625ms + duration: 92.994709ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.39825ms + duration: 91.396792ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,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: 99.141667ms + duration: 104.903875ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.656917ms + duration: 94.251125ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.414291ms + duration: 94.625125ms - id: 100 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_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 + 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-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 97.189542ms + status: 200 OK + code: 200 + duration: 104.150417ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.943792ms + duration: 171.894834ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.153958ms + duration: 98.881834ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.788125ms + duration: 99.80675ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?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: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.827708ms + duration: 106.817584ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.475542ms + duration: 108.697417ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.340041ms + duration: 98.27075ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.158208ms + duration: 220.44375ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.039834ms + duration: 109.309875ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 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_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.674542ms + duration: 91.807791ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.792875ms + duration: 108.853ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.21675ms + duration: 93.642375ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.716041ms + duration: 98.17325ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.373209ms + duration: 155.804042ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4140,7 +4140,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.76375ms + duration: 92.130083ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.833834ms + duration: 96.082125ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.591208ms + duration: 113.204875ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,49 +4242,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 121.845833ms + duration: 122.298458ms - id: 118 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_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: 101.002375ms + status: 204 No Content + code: 204 + duration: 123.503583ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.760792ms + duration: 98.465333ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 93.516792ms + duration: 95.669667ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4392,7 +4392,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.464792ms + duration: 105.304ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.762041ms + duration: 95.770292ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 118.882667ms + duration: 99.826458ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.758125ms + duration: 126.5975ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4530,13 +4530,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.533708ms + duration: 122.715333ms - id: 126 request: proto: HTTP/1.1 @@ -4555,8 +4555,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4566,13 +4566,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 217.53875ms + duration: 97.700208ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.5275ms + duration: 106.795375ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 197.197917ms + duration: 104.607958ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4680,7 +4680,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 210.53975ms + duration: 121.402834ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.46375ms + duration: 99.146666ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 102.734875ms + duration: 90.255958ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4788,7 +4788,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.428ms + duration: 95.48275ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.773708ms + duration: 106.275083ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"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: 92.372333ms + duration: 112.629ms - id: 135 request: proto: HTTP/1.1 @@ -4879,8 +4879,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -4890,49 +4890,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.939166ms + duration: 100.274834ms - id: 136 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_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/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: 159.367208ms + status: 200 OK + code: 200 + duration: 114.531708ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.560459ms + duration: 135.634583ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.245792ms + duration: 151.201958ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,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: 122.821916ms + duration: 101.108375ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.168375ms + duration: 180.642625ms - id: 141 request: proto: HTTP/1.1 @@ -5095,8 +5095,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.257208ms + duration: 92.986042ms - id: 142 request: proto: HTTP/1.1 @@ -5131,8 +5131,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5142,13 +5142,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.24475ms + duration: 186.789333ms - id: 143 request: proto: HTTP/1.1 @@ -5167,8 +5167,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5184,7 +5184,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.239208ms + duration: 152.974166ms - id: 144 request: proto: HTTP/1.1 @@ -5203,8 +5203,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -5214,13 +5214,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.552875ms + duration: 98.301ms - id: 145 request: proto: HTTP/1.1 @@ -5239,8 +5239,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5250,13 +5250,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: 102.818625ms + duration: 106.379917ms - id: 146 request: proto: HTTP/1.1 @@ -5275,8 +5275,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -5286,13 +5286,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.841958ms + duration: 195.429666ms - id: 147 request: proto: HTTP/1.1 @@ -5311,8 +5311,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5322,13 +5322,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.168208ms + duration: 99.270834ms - id: 148 request: proto: HTTP/1.1 @@ -5347,8 +5347,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5358,49 +5358,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.339875ms + duration: 95.358209ms - id: 149 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_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/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: 124.467083ms + status: 204 No Content + code: 204 + duration: 112.611292ms - id: 150 request: proto: HTTP/1.1 @@ -5419,8 +5419,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5430,49 +5430,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.104208ms + duration: 129.752417ms - id: 151 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_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + 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: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.456083ms + status: 204 No Content + code: 204 + duration: 104.492875ms - id: 152 request: proto: HTTP/1.1 @@ -5491,8 +5491,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5502,13 +5502,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.358166ms + duration: 111.010042ms - id: 153 request: proto: HTTP/1.1 @@ -5527,8 +5527,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -5538,13 +5538,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.631125ms + duration: 100.667125ms - id: 154 request: proto: HTTP/1.1 @@ -5563,8 +5563,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5580,7 +5580,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.00475ms + duration: 103.792084ms - id: 155 request: proto: HTTP/1.1 @@ -5599,8 +5599,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -5610,13 +5610,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.237917ms + duration: 112.249375ms - id: 156 request: proto: HTTP/1.1 @@ -5635,8 +5635,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5652,7 +5652,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.51875ms + duration: 101.791958ms - id: 157 request: proto: HTTP/1.1 @@ -5671,8 +5671,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5682,13 +5682,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.621666ms + duration: 100.986708ms - id: 158 request: proto: HTTP/1.1 @@ -5707,8 +5707,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5718,950 +5718,14 @@ interactions: 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: 188.074125ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 115.725584ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.555333ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 108.80675ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 127.8395ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 181.8875ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 112.701917ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 120.683541ms - - 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_vkoUpnlL6bXY4MC3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.165667ms - - 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_vkoUpnlL6bXY4MC3/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: 217.779083ms - - 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_yagtKpp1oZPg5BLz - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.116375ms - - 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_yagtKpp1oZPg5BLz/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: 104.998292ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.535ms - - 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%7C6492b6c0bff6d3d0cac37062/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.962959ms - - 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%7C6492b6c0bff6d3d0cac37062/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: 117.443ms - - 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_vkoUpnlL6bXY4MC3"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/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: 100.029583ms - - 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%7C6492b6c0bff6d3d0cac37062/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_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.303625ms - - 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_yagtKpp1oZPg5BLz"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/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: 101.705667ms - - 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%7C6492b6c0bff6d3d0cac37062/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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 179.167083ms - - 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_vkoUpnlL6bXY4MC3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.611ms - - 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_vkoUpnlL6bXY4MC3/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: 122.825708ms - - 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_yagtKpp1oZPg5BLz - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.503917ms - - 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_yagtKpp1oZPg5BLz/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.975375ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.181709ms - - 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%7C6492b6c0bff6d3d0cac37062/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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.150167ms - - 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%7C6492b6c0bff6d3d0cac37062/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.939417ms - - 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%7C6492b6c0bff6d3d0cac37062/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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.165458ms - - id: 185 + duration: 109.838ms + - id: 159 request: proto: HTTP/1.1 proto_major: 1 @@ -6679,8 +5743,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6690,14 +5754,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.49ms - - id: 186 + duration: 107.892625ms + - id: 160 request: proto: HTTP/1.1 proto_major: 1 @@ -6715,8 +5779,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6726,14 +5790,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.012375ms - - id: 187 + duration: 106.884667ms + - id: 161 request: proto: HTTP/1.1 proto_major: 1 @@ -6751,8 +5815,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -6762,14 +5826,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.990208ms - - id: 188 + duration: 93.385667ms + - id: 162 request: proto: HTTP/1.1 proto_major: 1 @@ -6787,8 +5851,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6798,14 +5862,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.571042ms - - id: 189 + duration: 95.793375ms + - id: 163 request: proto: HTTP/1.1 proto_major: 1 @@ -6823,8 +5887,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6840,8 +5904,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.108833ms - - id: 190 + duration: 96.477542ms + - id: 164 request: proto: HTTP/1.1 proto_major: 1 @@ -6859,8 +5923,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -6870,14 +5934,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.946542ms - - id: 191 + duration: 110.653833ms + - id: 165 request: proto: HTTP/1.1 proto_major: 1 @@ -6895,8 +5959,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6912,8 +5976,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.752583ms - - id: 192 + duration: 105.148292ms + - id: 166 request: proto: HTTP/1.1 proto_major: 1 @@ -6931,8 +5995,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -6942,14 +6006,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.485458ms - - id: 193 + duration: 98.871ms + - id: 167 request: proto: HTTP/1.1 proto_major: 1 @@ -6967,8 +6031,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6984,80 +6048,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.714834ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.003667ms - - 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%7C6492b6c0bff6d3d0cac37062/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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.130083ms - - id: 196 + duration: 99.662958ms + - id: 168 request: proto: HTTP/1.1 proto_major: 1 @@ -7075,8 +6067,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7086,14 +6078,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.706958ms - - id: 197 + duration: 97.316542ms + - id: 169 request: proto: HTTP/1.1 proto_major: 1 @@ -7111,8 +6103,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7122,14 +6114,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.833125ms - - id: 198 + duration: 154.722917ms + - id: 170 request: proto: HTTP/1.1 proto_major: 1 @@ -7147,8 +6139,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7158,14 +6150,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.842ms - - id: 199 + duration: 152.4005ms + - id: 171 request: proto: HTTP/1.1 proto_major: 1 @@ -7183,8 +6175,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7194,14 +6186,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.822333ms - - id: 200 + duration: 109.832708ms + - id: 172 request: proto: HTTP/1.1 proto_major: 1 @@ -7219,8 +6211,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7230,14 +6222,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.600833ms - - id: 201 + duration: 98.903042ms + - id: 173 request: proto: HTTP/1.1 proto_major: 1 @@ -7255,8 +6247,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7266,14 +6258,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.119333ms - - id: 202 + duration: 112.389792ms + - id: 174 request: proto: HTTP/1.1 proto_major: 1 @@ -7291,8 +6283,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7308,8 +6300,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.002833ms - - id: 203 + duration: 111.820625ms + - id: 175 request: proto: HTTP/1.1 proto_major: 1 @@ -7327,8 +6319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7338,14 +6330,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.756667ms - - id: 204 + duration: 92.715084ms + - id: 176 request: proto: HTTP/1.1 proto_major: 1 @@ -7363,8 +6355,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7374,14 +6366,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.7985ms - - id: 205 + duration: 108.880708ms + - id: 177 request: proto: HTTP/1.1 proto_major: 1 @@ -7399,8 +6391,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7416,8 +6408,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.517084ms - - id: 206 + duration: 105.99175ms + - id: 178 request: proto: HTTP/1.1 proto_major: 1 @@ -7435,8 +6427,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7446,14 +6438,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.900292ms - - id: 207 + duration: 103.869917ms + - id: 179 request: proto: HTTP/1.1 proto_major: 1 @@ -7471,8 +6463,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7482,14 +6474,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.068125ms - - id: 208 + duration: 98.57425ms + - id: 180 request: proto: HTTP/1.1 proto_major: 1 @@ -7507,8 +6499,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7524,8 +6516,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.030875ms - - id: 209 + duration: 139.414958ms + - id: 181 request: proto: HTTP/1.1 proto_major: 1 @@ -7543,8 +6535,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -7554,14 +6546,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.302417ms - - id: 210 + duration: 133.6815ms + - id: 182 request: proto: HTTP/1.1 proto_major: 1 @@ -7579,8 +6571,8 @@ interactions: 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_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7596,8 +6588,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.495625ms - - id: 211 + duration: 105.548584ms + - id: 183 request: proto: HTTP/1.1 proto_major: 1 @@ -7615,8 +6607,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -7626,14 +6618,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.537375ms - - id: 212 + duration: 104.324792ms + - id: 184 request: proto: HTTP/1.1 proto_major: 1 @@ -7651,8 +6643,8 @@ interactions: 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_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7668,80 +6660,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.853708ms - - 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%7C6492b6c0bff6d3d0cac37062 - 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-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.235542ms - - 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%7C6492b6c0bff6d3d0cac37062/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_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.347833ms - - id: 215 + duration: 110.649958ms + - id: 185 request: proto: HTTP/1.1 proto_major: 1 @@ -7759,8 +6679,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7770,14 +6690,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.155667ms - - id: 216 + duration: 97.31925ms + - id: 186 request: proto: HTTP/1.1 proto_major: 1 @@ -7795,8 +6715,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7806,14 +6726,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.412333ms - - id: 217 + duration: 120.07575ms + - id: 187 request: proto: HTTP/1.1 proto_major: 1 @@ -7831,8 +6751,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7842,14 +6762,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.08925ms - - id: 218 + duration: 96.757083ms + - id: 188 request: proto: HTTP/1.1 proto_major: 1 @@ -7867,8 +6787,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7878,14 +6798,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.789084ms - - id: 219 + duration: 94.648834ms + - id: 189 request: proto: HTTP/1.1 proto_major: 1 @@ -7903,8 +6823,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7914,14 +6834,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.101708ms - - id: 220 + duration: 92.411584ms + - id: 190 request: proto: HTTP/1.1 proto_major: 1 @@ -7939,8 +6859,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7950,14 +6870,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.847917ms - - id: 221 + duration: 97.136667ms + - id: 191 request: proto: HTTP/1.1 proto_major: 1 @@ -7975,8 +6895,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7992,8 +6912,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.206375ms - - id: 222 + duration: 103.925875ms + - id: 192 request: proto: HTTP/1.1 proto_major: 1 @@ -8011,8 +6931,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -8022,14 +6942,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","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-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","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-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.7835ms - - id: 223 + duration: 88.362417ms + - id: 193 request: proto: HTTP/1.1 proto_major: 1 @@ -8047,8 +6967,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8058,14 +6978,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.228667ms - - id: 224 + duration: 108.155834ms + - id: 194 request: proto: HTTP/1.1 proto_major: 1 @@ -8083,8 +7003,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8100,8 +7020,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.197416ms - - id: 225 + duration: 96.5785ms + - id: 195 request: proto: HTTP/1.1 proto_major: 1 @@ -8113,14 +7033,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3","rol_yagtKpp1oZPg5BLz"]} + {"roles":["rol_ia0Ix9MLPRXChFdf","rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8136,8 +7056,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 120.118917ms - - id: 226 + duration: 96.509208ms + - id: 196 request: proto: HTTP/1.1 proto_major: 1 @@ -8149,14 +7069,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_yagtKpp1oZPg5BLz"]} + {"roles":["rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8172,8 +7092,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 109.128166ms - - id: 227 + duration: 110.821292ms + - id: 197 request: proto: HTTP/1.1 proto_major: 1 @@ -8185,14 +7105,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8208,8 +7128,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 102.796667ms - - id: 228 + duration: 110.024834ms + - id: 198 request: proto: HTTP/1.1 proto_major: 1 @@ -8226,8 +7146,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: DELETE response: proto: HTTP/2.0 @@ -8243,8 +7163,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 318.66075ms - - id: 229 + duration: 263.260042ms + - id: 199 request: proto: HTTP/1.1 proto_major: 1 @@ -8262,8 +7182,8 @@ interactions: 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_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: DELETE response: proto: HTTP/2.0 @@ -8279,8 +7199,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 206.723583ms - - id: 230 + duration: 105.618542ms + - id: 200 request: proto: HTTP/1.1 proto_major: 1 @@ -8298,8 +7218,8 @@ interactions: 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_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: DELETE response: proto: HTTP/2.0 @@ -8315,4 +7235,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.535041ms + duration: 98.835208ms