diff --git a/internal/auth0/user/resource.go b/internal/auth0/user/resource.go index 5dab187b6..81f43ba3f 100644 --- a/internal/auth0/user/resource.go +++ b/internal/auth0/user/resource.go @@ -265,7 +265,7 @@ func createUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag d.SetId(user.GetID()) - if err = persistUserRoles(d, api); err != nil { + if err = persistUserRoles(d, m); err != nil { return diag.FromErr(err) } @@ -289,7 +289,7 @@ func updateUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag } } - if err = persistUserRoles(d, api); err != nil { + if err = persistUserRoles(d, m); err != nil { return diag.Errorf("failed assigning user roles. %s", err) } @@ -473,21 +473,21 @@ func validateNoPasswordAndEmailVerifiedSimultaneously() validateUserFunc { } } -func persistUserRoles(d *schema.ResourceData, api *management.Management) error { +func persistUserRoles(d *schema.ResourceData, meta interface{}) error { if !d.HasChange("roles") { return nil } rolesToAdd, rolesToRemove := value.Difference(d, "roles") - if err := removeUserRoles(api, d.Id(), rolesToRemove); err != nil { + if err := removeUserRoles(meta, d.Id(), rolesToRemove); err != nil { return err } - return assignUserRoles(api, d.Id(), rolesToAdd) + return assignUserRoles(meta, d.Id(), rolesToAdd) } -func removeUserRoles(api *management.Management, userID string, userRolesToRemove []interface{}) error { +func removeUserRoles(meta interface{}, userID string, userRolesToRemove []interface{}) error { if len(userRolesToRemove) == 0 { return nil } @@ -498,18 +498,16 @@ func removeUserRoles(api *management.Management, userID string, userRolesToRemov rmRoles = append(rmRoles, role) } - err := api.User.RemoveRoles(userID, rmRoles) - if err != nil { - // Ignore 404 errors as the role may have been deleted prior to un-assigning them from the user. - if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - return nil - } - } + api := meta.(*config.Config).GetAPI() + mutex := meta.(*config.Config).GetMutex() + + mutex.Lock(userID) + defer mutex.Unlock(userID) - return err + return api.User.RemoveRoles(userID, rmRoles) } -func assignUserRoles(api *management.Management, userID string, userRolesToAdd []interface{}) error { +func assignUserRoles(meta interface{}, userID string, userRolesToAdd []interface{}) error { if len(userRolesToAdd) == 0 { return nil } @@ -521,6 +519,12 @@ func assignUserRoles(api *management.Management, userID string, userRolesToAdd [ addRoles = append(addRoles, role) } + api := meta.(*config.Config).GetAPI() + mutex := meta.(*config.Config).GetMutex() + + mutex.Lock(userID) + defer mutex.Unlock(userID) + return api.User.AssignRoles(userID, addRoles) } diff --git a/internal/auth0/user/resource_roles.go b/internal/auth0/user/resource_roles.go index ee9360dca..43a4394a3 100644 --- a/internal/auth0/user/resource_roles.go +++ b/internal/auth0/user/resource_roles.go @@ -45,19 +45,18 @@ func NewRolesResource() *schema.Resource { } func upsertUserRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - mutex := meta.(*config.Config).GetMutex() - - userID := data.Get("user_id").(string) - data.SetId(userID) - - mutex.Lock(userID) - defer mutex.Unlock(userID) + if err := persistUserRoles(data, meta); err != nil { + if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { + data.SetId("") + return nil + } - if err := persistUserRoles(data, api); err != nil { return diag.FromErr(err) } + userID := data.Get("user_id").(string) + data.SetId(userID) + return readUserRoles(ctx, data, meta) } diff --git a/internal/auth0/user/resource_roles_test.go b/internal/auth0/user/resource_roles_test.go index 824a6ab3b..0fe594fe7 100644 --- a/internal/auth0/user/resource_roles_test.go +++ b/internal/auth0/user/resource_roles_test.go @@ -1,115 +1,121 @@ package user_test import ( - "os" "strings" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccUserRolesUpdateUserWithOneRoleAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" +const testAccGivenTwoRolesAndAUser = ` +resource "auth0_role" "owner" { + name = "test-owner" + description = "Test Owner" } -resource auth0_user user { - depends_on = [auth0_role.owner] +resource "auth0_role" "admin" { + name = "test-admin" + description = "Test Administrator" +} + +resource "auth0_user" "user" { + depends_on = [ auth0_role.owner, auth0_role.admin ] connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" + email = "{{.testName}}@acceptance.test.com" + password = "passpass$12$12" lifecycle { ignore_changes = [roles] } } +` -resource auth0_user_roles user_roles { +const testAccUserRolesUpdateUserWithOneRoleAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [auth0_role.owner.id] + roles = [ auth0_role.owner.id ] } -data auth0_user user_data { - depends_on = [auth0_user_roles.user_roles] +data "auth0_user" "user_data" { + depends_on = [ auth0_user_roles.user_roles ] user_id = auth0_user.user.id } ` -const testAccUserRolesUpdateUserWithTwoRolesAssigned = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} +const testAccUserRolesUpdateUserWithTwoRolesAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user.user ] -resource auth0_role admin { - name = "admin" - description = "Administrator" + user_id = auth0_user.user.id + roles = [auth0_role.owner.id, auth0_role.admin.id] } -resource auth0_user user { - depends_on = [auth0_role.owner, auth0_role.admin] - - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +data "auth0_user" "user_data" { + depends_on = [auth0_user_roles.user_roles] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id } +` -resource auth0_user_roles user_roles { +const testAccUserRolesUpdateUserWithNoRolesAssigned = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_roles" "user_roles" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [auth0_role.owner.id, auth0_role.admin.id] + roles = [] } -data auth0_user user_data { +data "auth0_user" "user_data" { depends_on = [auth0_user_roles.user_roles] user_id = auth0_user.user.id } ` -const testAccUserRolesUpdateUserWithNoRolesAssigned = ` -resource auth0_user user { - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +const testAccUserRolesDeleteResource = testAccGivenTwoRolesAndAUser + ` +data "auth0_user" "user_data" { + depends_on = [ auth0_user.user ] - lifecycle { - ignore_changes = [roles] - } + user_id = auth0_user.user.id } +` -resource auth0_user_roles user_roles { +const testAccUserRolesImportSetup = testAccGivenTwoRolesAndAUser + ` +resource "auth0_user_role" "user_role-1" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id - roles = [] + role_id = auth0_role.owner.id } -data auth0_user user_data { - depends_on = [auth0_user_roles.user_roles] +resource "auth0_user_role" "user_role-2" { + depends_on = [ auth0_user_role.user_role-1 ] user_id = auth0_user.user.id + role_id = auth0_role.admin.id } ` -const testAccUserRolesDeleteResource = ` -resource auth0_user user { - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" +const testAccUserRolesImportCheck = testAccUserRolesImportSetup + ` +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user_role.user_role-2 ] + + user_id = auth0_user.user.id + roles = [ auth0_role.owner.id, auth0_role.admin.id ] +} + +data "auth0_user" "user_data" { + depends_on = [auth0_user_roles.user_roles] + + user_id = auth0_user.user.id } ` @@ -148,91 +154,34 @@ func TestAccUserRoles(t *testing.T) { }, { Config: acctest.ParseTestName(testAccUserRolesDeleteResource, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - ), - }, - }, - }) -} - -const testAccUserRolesImport = ` -resource auth0_role owner { - name = "owner" - description = "Owner" -} - -resource auth0_role admin { - name = "admin" - description = "Administrator" -} - -resource auth0_user user { - depends_on = [auth0_role.owner, auth0_role.admin] - - connection_name = "Username-Password-Authentication" - email = "{{.testName}}@acceptance.test.com" - password = "passpass$12$12" - - lifecycle { - ignore_changes = [ roles, connection_name, password ] - } -} - -resource auth0_user_roles user_roles { - depends_on = [ auth0_user.user ] - - user_id = auth0_user.user.id - roles = [ auth0_role.owner.id, auth0_role.admin.id ] -} -` - -func TestAccUserRolesImport(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // The test runs only with recordings as it requires an initial setup. - t.Skip() - } - - testName := strings.ToLower(t.Name()) - - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_role.owner", - ImportState: true, - ImportStateId: "rol_XLLMqPwfx8kdG63e", - ImportStatePersist: true, }, { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_role.admin", - ImportState: true, - ImportStateId: "rol_LjLyGzVZE5K34IaY", - ImportStatePersist: true, + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "0"), + ), }, { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_user.user", - ImportState: true, - ImportStateId: "auth0|646cbae1e37ebde3a5ad6fd0", - ImportStatePersist: true, + Config: acctest.ParseTestName(testAccUserRolesImportSetup, testName), }, { - Config: acctest.ParseTestName(testAccUserRolesImport, testName), - ResourceName: "auth0_user_roles.user_roles", - ImportState: true, - ImportStateId: "auth0|646cbae1e37ebde3a5ad6fd0", + Config: acctest.ParseTestName(testAccUserRolesImportCheck, testName), + ResourceName: "auth0_user_roles.user_roles", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + return acctest.ExtractResourceAttributeFromState(state, "auth0_user.user", "id") + }, ImportStatePersist: true, }, { + Config: acctest.ParseTestName(testAccUserRolesImportCheck, testName), ConfigPlanChecks: resource.ConfigPlanChecks{ PreApply: []plancheck.PlanCheck{ plancheck.ExpectEmptyPlan(), }, }, - Config: acctest.ParseTestName(testAccUserRolesImport, testName), Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_user.user_data", "roles.#", "2"), resource.TestCheckResourceAttr("auth0_user_roles.user_roles", "roles.#", "2"), ), }, diff --git a/test/data/recordings/TestAccUserRoles.yaml b/test/data/recordings/TestAccUserRoles.yaml index 245a14442..72aa1fb1b 100644 --- a/test/data/recordings/TestAccUserRoles.yaml +++ b/test/data/recordings/TestAccUserRoles.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 39 + content_length: 49 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"owner","description":"Owner"} + {"name":"test-owner","description":"Test Owner"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0-SDK/0.17.2 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,34 +30,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.868375ms + duration: 167.32475ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 57 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"test-admin","description":"Test Administrator"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.396334ms + duration: 187.494209ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -102,49 +102,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.517083ms + duration: 88.18275ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 125 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccuserroles@acceptance.test.com","password":"passpass$12$12"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 543 - uncompressed: false - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 279.476375ms + status: 200 OK + code: 200 + duration: 166.390958ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.827209ms + duration: 166.41175ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -210,85 +210,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.4515ms + duration: 177.049917ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 125 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccuserroles@acceptance.test.com","password":"passpass$12$12"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 543 + uncompressed: false + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.320583ms + status: 201 Created + code: 201 + duration: 253.160459ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_DyhWtUgOyvkDAyi6"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 197.677083ms + status: 200 OK + code: 200 + duration: 98.118375ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.424458ms + duration: 176.8ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.682083ms + duration: 198.014084ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_PBrABpB3dKWr70uT"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 179.422875ms + status: 204 No Content + code: 204 + duration: 163.746042ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.617209ms + duration: 188.901083ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.776084ms + duration: 170.979541ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.677542ms + duration: 253.419459ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -540,7 +540,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.467292ms + duration: 88.220042ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.880542ms + duration: 172.021917ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 190.59ms + duration: 170.141917ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.979917ms + duration: 97.331334ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.935ms + duration: 158.622709ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.0175ms + duration: 170.768ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.033542ms + duration: 85.220625ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.722208ms + duration: 202.983875ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.449375ms + duration: 173.057417ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.132792ms + duration: 167.437708ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.027ms + duration: 102.169458ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.810542ms + duration: 178.82925ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 221.1245ms + duration: 212.974791ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.239625ms + duration: 306.496667ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1044,7 +1044,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.473208ms + duration: 197.845792ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.954958ms + duration: 79.136792ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.487875ms + duration: 222.569ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1152,7 +1152,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.522917ms + duration: 170.968125ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -1182,34 +1182,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.514209ms + duration: 193.384833ms - id: 33 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"admin","description":"Administrator"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.399375ms + duration: 193.217667ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.916167ms + duration: 103.041ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1296,43 +1296,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.002291ms + duration: 205.449666ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Bl5cnPdg3oIu0XaT"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.608917ms + status: 200 OK + code: 200 + duration: 296.320792ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.022666ms + duration: 203.634416ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.442041ms + duration: 202.78875ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.405666ms + duration: 198.342708ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_uiXlrTBbjT7ZR4se"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.5615ms + status: 204 No Content + code: 204 + duration: 254.509042ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.33275ms + duration: 169.888333ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.269833ms + duration: 176.708125ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.356792ms + duration: 246.304542ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.41525ms + duration: 165.801791ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.112625ms + duration: 89.086834ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.2835ms + duration: 261.924875ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1728,7 +1728,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.46675ms + duration: 203.836417ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.682875ms + duration: 157.798042ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.520708ms + duration: 164.511916ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1836,7 +1836,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.106291ms + duration: 87.515166ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 317.351709ms + duration: 168.161208ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.111709ms + duration: 161.954875ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.414917ms + duration: 82.237708ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1980,7 +1980,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.428375ms + duration: 212.529542ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.686542ms + duration: 169.69075ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.7405ms + duration: 170.898833ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.801666ms + duration: 250.705791ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.984791ms + duration: 208.22775ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.712042ms + duration: 105.125834ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.305667ms + duration: 198.6195ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2232,7 +2232,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.130708ms + duration: 317.229709ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.1685ms + duration: 163.477291ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.870667ms + duration: 165.047208ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2340,7 +2340,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.618958ms + duration: 208.619917ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,106 +2370,106 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Bl5cnPdg3oIu0XaT","name":"admin","description":"Administrator"},{"id":"rol_DyhWtUgOyvkDAyi6","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.451083ms + duration: 207.447208ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Bl5cnPdg3oIu0XaT - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.43275ms + duration: 183.166875ms - id: 67 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_DyhWtUgOyvkDAyi6 - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.810875ms + duration: 159.738583ms - id: 68 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 58 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Bl5cnPdg3oIu0XaT","rol_DyhWtUgOyvkDAyi6"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 102.839541ms + status: 200 OK + code: 200 + duration: 167.395541ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,49 +2514,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.476917ms + duration: 158.14875ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_PBrABpB3dKWr70uT","rol_uiXlrTBbjT7ZR4se"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.852667ms + status: 204 No Content + code: 204 + duration: 189.254791ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2592,7 +2592,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.610292ms + duration: 83.109583ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.6ms + duration: 82.044875ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.304584ms + duration: 82.407375ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.673667ms + duration: 161.895625ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.897333ms + duration: 149.939542ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.339583ms + duration: 212.258833ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.369083ms + duration: 174.064125ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.430834ms + duration: 158.957959ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.457833ms + duration: 169.016541ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&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-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.792583ms + duration: 165.808541ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.056625ms + duration: 161.907291ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.271416ms + duration: 156.336125ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.991208ms + duration: 184.89275ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.798542ms + duration: 196.875334ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.816917ms + duration: 155.702042ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 175.057708ms + duration: 177.457125ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3168,7 +3168,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.398375ms + duration: 166.075375ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3204,7 +3204,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.388666ms + duration: 182.251ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -3234,34 +3234,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.31525ms + duration: 156.156916ms - id: 90 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 39 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"owner","description":"Owner"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.533583ms + duration: 288.741041ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.737834ms + duration: 203.1575ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se method: GET response: proto: HTTP/2.0 @@ -3342,49 +3342,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.55825ms + duration: 94.503458ms - id: 93 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: POST + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + 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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 943.715167ms + status: 200 OK + code: 200 + duration: 161.832084ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.501ms + duration: 80.925916ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 951.560709ms + duration: 224.808542ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.440667ms + duration: 196.639417ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.981959ms + duration: 300.775042ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.9665ms + duration: 181.262875ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3594,49 +3594,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.081583ms + duration: 219.573042ms - id: 100 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_PBrABpB3dKWr70uT"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.74175ms + status: 204 No Content + code: 204 + duration: 190.149459ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.521833ms + duration: 166.867375ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.472167ms + duration: 202.963542ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.813333ms + duration: 219.719208ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.255917ms + duration: 165.721375ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.397084ms + duration: 92.922833ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.793667ms + duration: 159.740166ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.740833ms + duration: 168.446375ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.910083ms + duration: 76.691083ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se 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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 960.025292ms + duration: 87.652708ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/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: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.674875ms + duration: 168.051ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.596666ms + duration: 163.286042ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.663208ms + duration: 215.155208ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.927041ms + duration: 163.392333ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.89925ms + duration: 199.794875ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.903166ms + duration: 174.279041ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_2WLWX6SW0qkhjTKL","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.863292ms + duration: 170.4035ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.10075ms + duration: 153.36575ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4284,100 +4284,3520 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.428583ms + duration: 164.94725ms - id: 119 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 79.419417ms + status: 200 OK + code: 200 + duration: 167.351417ms - id: 120 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 3 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.170041ms + - id: 121 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 262.826ms + - id: 122 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 77.906583ms + - id: 123 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.980375ms + - id: 124 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.161083ms + - id: 125 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/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: 175.450333ms + - id: 126 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.758667ms + - id: 127 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 171.21475ms + - id: 128 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.004083ms + - id: 129 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 171.589125ms + - id: 130 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 204.623375ms + - 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%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 224.83425ms + - 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%7C648704edb39975656422dfea/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: 194.159459ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.54ms + - id: 134 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.627125ms + - id: 135 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 171.989666ms + - id: 136 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_PBrABpB3dKWr70uT"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 159.07325ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 81.959916ms + - 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%7C648704edb39975656422dfea/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: 160.822083ms + - 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%7C648704edb39975656422dfea/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: 183.415375ms + - id: 140 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.014542ms + - id: 141 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.771625ms + - id: 142 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/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: 159.729084ms + - id: 143 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/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: 175.545625ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.777667ms + - 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%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 206.207166ms + - 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%7C648704edb39975656422dfea/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: 215.884083ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.44ms + - 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%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 169.4535ms + - 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%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.619541ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.657ms + - 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%7C648704edb39975656422dfea/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: 156.178958ms + - 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%7C648704edb39975656422dfea/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: 194.346208ms + - 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_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 73.980583ms + - 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_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.918916ms + - 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_uiXlrTBbjT7ZR4se/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: 179.465625ms + - 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_PBrABpB3dKWr70uT/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: 187.662375ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.403958ms + - 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%7C648704edb39975656422dfea/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: 203.253875ms + - 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%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 306.508625ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 179.682625ms + - 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%7C648704edb39975656422dfea/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: 195.754459ms + - 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%7C648704edb39975656422dfea/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.71575ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.858708ms + - 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%7C648704edb39975656422dfea/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: 168.416917ms + - 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%7C648704edb39975656422dfea/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: 237.717125ms + - 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_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.417708ms + - 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_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.352042ms + - 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_uiXlrTBbjT7ZR4se/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: 77.275917ms + - 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_PBrABpB3dKWr70uT/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: 172.678542ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 185.328417ms + - 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%7C648704edb39975656422dfea/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: 170.84925ms + - 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%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 167.959417ms + - 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_PBrABpB3dKWr70uT"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 84.825666ms + - 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%7C648704edb39975656422dfea/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_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 82.53175ms + - 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_uiXlrTBbjT7ZR4se"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 163.141709ms + - 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%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.91375ms + - 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_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 71.6305ms + - 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_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 74.656459ms + - 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_uiXlrTBbjT7ZR4se/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: 241.04625ms + - 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_PBrABpB3dKWr70uT/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: 238.486375ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 297.692125ms + - 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%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 198.585125ms + - 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%7C648704edb39975656422dfea/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: 201.972125ms + - 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%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 305.212084ms + - id: 185 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 197.092917ms + - id: 186 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 76.562083ms + - id: 187 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.364667ms + - id: 188 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.707667ms + - id: 189 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 197.278083ms + - id: 190 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.963833ms + - id: 191 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 182.537459ms + - id: 192 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/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: 188.843875ms + - id: 193 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/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: 162.40325ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 276.386042ms + - 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%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 290.276292ms + - id: 196 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 80.573292ms + - id: 197 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.936292ms + - id: 198 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 199.295667ms + - id: 199 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 196.316ms + - id: 200 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 188.191417ms + - id: 201 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 440.616458ms + - id: 202 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.182791ms + - id: 203 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 159.100791ms + - id: 204 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.512833ms + - id: 205 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.178416ms + - id: 206 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 174.130958ms + - id: 207 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 91.287458ms + - id: 208 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 167.725833ms + - id: 209 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 86.681541ms + - id: 210 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.718792ms + - id: 211 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se/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: 218.219375ms + - id: 212 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT/permissions?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.592625ms + - 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%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.307416ms + - 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%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.418958ms + - id: 215 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_2WLWX6SW0qkhjTKL - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.941458ms - - id: 121 + duration: 173.483542ms + - id: 216 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_2WLWX6SW0qkhjTKL"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles - method: DELETE + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -4386,14 +7806,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 93.235042ms - - id: 122 + status: 200 OK + code: 200 + duration: 103.353292ms + - id: 217 request: proto: HTTP/1.1 proto_major: 1 @@ -4411,8 +7831,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4422,14 +7842,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.739ms - - id: 123 + duration: 158.31525ms + - id: 218 request: proto: HTTP/1.1 proto_major: 1 @@ -4447,8 +7867,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,14 +7878,86 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.21525ms - - id: 124 + duration: 169.881416ms + - id: 219 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea + 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-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.855125ms + - id: 220 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 173.554541ms + - id: 221 request: proto: HTTP/1.1 proto_major: 1 @@ -4483,8 +7975,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4500,8 +7992,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.114417ms - - id: 125 + duration: 166.697542ms + - id: 222 request: proto: HTTP/1.1 proto_major: 1 @@ -4519,8 +8011,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: GET response: proto: HTTP/2.0 @@ -4530,14 +8022,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-12T15:32:30.164Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"645e5c0effad5a26c9d19053","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-12T15:32:30.164Z","user_id":"auth0|645e5c0effad5a26c9d19053"}' + body: '{"created_at":"2023-06-12T11:43:41.143Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"648704edb39975656422dfea","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-12T11:43:41.143Z","user_id":"auth0|648704edb39975656422dfea"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.371375ms - - id: 126 + duration: 156.609583ms + - id: 223 request: proto: HTTP/1.1 proto_major: 1 @@ -4555,8 +8047,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/roles?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4566,14 +8058,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_uiXlrTBbjT7ZR4se","name":"test-admin","description":"Test Administrator"},{"id":"rol_PBrABpB3dKWr70uT","name":"test-owner","description":"Test Owner"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.915875ms - - id: 127 + duration: 188.846542ms + - id: 224 request: proto: HTTP/1.1 proto_major: 1 @@ -4591,8 +8083,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053/permissions?include_totals=true&per_page=50 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4608,8 +8100,116 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.965291ms - - id: 128 + duration: 166.404ms + - id: 225 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 58 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_PBrABpB3dKWr70uT","rol_uiXlrTBbjT7ZR4se"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 113.206875ms + - id: 226 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_uiXlrTBbjT7ZR4se"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 171.34525ms + - id: 227 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 35 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_PBrABpB3dKWr70uT"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea/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: 170.211625ms + - id: 228 request: proto: HTTP/1.1 proto_major: 1 @@ -4626,8 +8226,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645e5c0effad5a26c9d19053 + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C648704edb39975656422dfea method: DELETE response: proto: HTTP/2.0 @@ -4643,4 +8243,76 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 219.156166ms + duration: 110.926667ms + - id: 229 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_uiXlrTBbjT7ZR4se + 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: 166.372042ms + - id: 230 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 3 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_PBrABpB3dKWr70uT + 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: 190.990417ms diff --git a/test/data/recordings/TestAccUserRolesImport.yaml b/test/data/recordings/TestAccUserRolesImport.yaml deleted file mode 100644 index 67df9d861..000000000 --- a/test/data/recordings/TestAccUserRolesImport.yaml +++ /dev/null @@ -1,1010 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.010834ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.828ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.604083ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.129833ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 129.777459ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.580958ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 229.191583ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.148792ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.991542ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.3925ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.365875ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.394625ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.105875ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.411208ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.563375ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.226959ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 86.320417ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 142.127375ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.814875ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.117042ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-23T13:08:49.444Z","email":"testaccuserrolesimport@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"646cbae1e37ebde3a5ad6fd0","provider":"auth0","isSocial":false}],"name":"testaccuserrolesimport@acceptance.test.com","nickname":"testaccuserrolesimport","picture":"https://s.gravatar.com/avatar/1787f23058f222441a28bb5d49ee39d2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-05-23T13:08:49.444Z","user_id":"auth0|646cbae1e37ebde3a5ad6fd0"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.55025ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.005375ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.340959ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_LjLyGzVZE5K34IaY","name":"admin","description":"Administrator"},{"id":"rol_XLLMqPwfx8kdG63e","name":"owner","description":"Owner"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 277.517083ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_LjLyGzVZE5K34IaY","rol_XLLMqPwfx8kdG63e"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 86.888666ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C646cbae1e37ebde3a5ad6fd0 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 120.85125ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_LjLyGzVZE5K34IaY - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.279708ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_XLLMqPwfx8kdG63e - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.932541ms