Update a user's data access rules
The account's username identifier
The data access rules to apply to the user account
Data access ensures a user only sees the records for which they have permission
An association between a role and a unit group
Role where this data access is available
Data view where this data access is available
Unit group in the organization hierarchy
Display name for the Unit Group
Segments associates the role with records meeting a specific criteria based on field values in the record
Role where this data access is available
Data view where this data access is available
Survey Field key
Display name of the Survey Field
Field option value
The updated data access rules
The request ID, used by Medallia support for troubleshooting
Indicates the request quota closest to reaching its limit amongst all available quotas. Follows the semantics of IETF draft-polli-ratelimit-headers.
The number of requests allowed in total in a 24-hour period. Deprecated as of Sept. 2022 in favor of X-RateLimit-Limit.
The number of requests allowed in total in a 1-second period. Deprecated as of Sept. 2022 in favor of X-RateLimit-Limit.
Indicates the number of requests remaining in the quota that is closest to expiring (as indicated by X-RateLimit-Limit
). Follows the semantics of IETF draft-polli-ratelimit-headers.
The number of requests available to make in a 24-hour period. Deprecated as of Sept. 2022 in favor of X-RateLimit-Remaining.
The number of requests available to make in a 1-second period. Deprecated as of Sept. 2022 in favor of X-RateLimit-Remaining.
Indicates the number of seconds remaining until the quota resets. Follows the semantics of IETF draft-polli-ratelimit-headers.
The username used to identify the account
The first name of the user
The last name of the user
The email address of the user
The phone number of the user
Indicates whether the user account is able to be automatically updated by Medallia ETL processes
Indicates whether the user account is included in user-activity-account-split
nodes in Medallia AA2 reports
The user's account ID in the company's authentication systems, set automatically during auto-logon processes
Indicates whether the direct-to-Medallia user logins are blocked and, as a consequence, password resets are also blocked. This has no bearing on SSO-based authentication or mobile access codes.
Data access ensures a user only sees the records for which they have permission
An association between a role and a unit group
Segments associates the role with records meeting a specific criteria based on field values in the record
The roles of which this account is a member
The primary role of this account, which acts as the default role
Secondary roles of this account
Indicates whether the account is active
The timestamp when the user account was created, in ISO-8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZZ
The username of the account or the role of the OAuth 2.0 account that created this account (if manual) or null
(if the account was created through system-driven processes such as SSO)
The timestamp when the user account was last modified, in ISO-8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZZ
The username of the account or the role of the OAuth 2.0 account that last modified this account (if manual) or null
(if the account was last modified through system-driven processes such as SSO)
A human-friendly explanation of why a user account may be blocked
The timestamp when the user account last authenticated, in ISO-8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZZ
The number of successful authentications for the user
The number of sequential, unsuccessful authentications
The timestamp when the account's password was last set, in ISO-8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZZ
The timestamp when a password reset link for the account was last emailed, in ISO-8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZZ
The reason why the password is not set for the account
curl --request PUT \--url https://instance-tenant.apis.medallia.com/admin/v1/users/username/data-access \--header 'Accept: application/json' \--header 'Authorization: Bearer 123' \--header 'Content-Type: application/json' \--data '{"organization": [{"role": "string","data_view": "string","unit_group": "string","unit_group_display_name": "string"}],"segments": [{"role": "string","data_view": "string","field": "string","field_display_name": "string","option": "string"}]}'
1{2"username": "string",3"first_name": "string",4"last_name": "string",5"email": "user@example.com",6"phone": "string",7"automatic_update": true,8"excluded_from_user_activity": true,9"company_account_id": "string",10"login_blocked": true,11"data-access": {12"organization": [13{14"role": "string",15"data_view": "string",16"unit_group": "string",17"unit_group_display_name": "string"18}19],20"segments": [21{22"role": "string",23"data_view": "string",24"field": "string",25"field_display_name": "string",26"option": "string"27}28]29},30"roles": {31"primary_role": {32"role": "string"33},34"extra_roles": [35{36"role": "string"37}38]39},40"_system_properties": {41"status": "ACTIVE",42"created_on": "2019-08-24T14:15:22Z",43"created_by": "string",44"modified_on": "2019-08-24T14:15:22Z",45"modified_by": "string",46"login_blocked_reason": "TOO_MANY_FAILED_LOGINS",47"last_login": "2019-08-24T14:15:22Z",48"login_count": -2147483648,49"failed_login_count": -2147483648,50"password_last_set": "2019-08-24T14:15:22Z",51"password_last_emailed": "2019-08-24T14:15:22Z",52"password_not_set_reason": "PASSWORD_RESET"53}54}