Retrieves a list of users and their permissions.
OK
[- {
- "user_id": 123,
- "account_id": 123,
- "permissions": {
- "WorkflowProject": [
- {
- "operation": "view"
}
], - "WorkflowProjectLevel": [
- {
- "operation": "view",
- "name": "my_wf"
}
], - "WorkflowRestrictedOperators": [
- {
- "operation": "edit"
}
], - "Segmentation": [
- {
- "operation": "full"
}
], - "MasterSegmentConfigs": [
- {
- "operation": "view"
}
], - "MasterSegmentConfig": [
- {
- "operation": "view",
- "id": "42"
}
], - "MasterSegmentColumn": [
- {
- "operation": "view_clear",
- "column_identifiers": "1$attribute.customers.age,1$attribute.customers.first_name"
}
], - "MasterSegmentAllColumns": [
- {
- "operation": "view_clear",
- "audience_id": "1"
}
], - "CookieConsent": [
- {
- "operation": "view"
}
], - "SegmentAllFolders": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "SegmentFolder": [
- {
- "operation": "view",
- "id": "42"
}
], - "Profiles": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "ProfilesApiToken": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "ActivationTemplate": [
- {
- "operation": "view"
}
], - "Activation": [
- {
- "operation": "create_only_with_template"
}
], - "Authentications": [
- {
- "operation": "use_limited",
- "ids": "1,2,3"
}
], - "Sources": [
- {
- "operation": "restricted"
}
], - "Destinations": [
- {
- "operation": "restricted"
}
], - "Databases": [
- {
- "operation": "query",
- "ids": "1,2,3"
}
], - "UniversalConsent": [
- {
- "operation": "full"
}
], - "TrafficControls": [
- {
- "operation": "full"
}
], - "TrafficControl": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "Journeys": [
- {
- "operation": "full"
}
], - "Journey": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "LlmProject": [
- {
- "operation": "full",
- "project_id": "1"
}
]
}, - "policies": [
- {
- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
]
}
]
{- "user_id": 123,
- "account_id": 123,
- "permissions": {
- "WorkflowProject": [
- {
- "operation": "view"
}
], - "WorkflowProjectLevel": [
- {
- "operation": "view",
- "name": "my_wf"
}
], - "WorkflowRestrictedOperators": [
- {
- "operation": "edit"
}
], - "Segmentation": [
- {
- "operation": "full"
}
], - "MasterSegmentConfigs": [
- {
- "operation": "view"
}
], - "MasterSegmentConfig": [
- {
- "operation": "view",
- "id": "42"
}
], - "MasterSegmentColumn": [
- {
- "operation": "view_clear",
- "column_identifiers": "1$attribute.customers.age,1$attribute.customers.first_name"
}
], - "MasterSegmentAllColumns": [
- {
- "operation": "view_clear",
- "audience_id": "1"
}
], - "CookieConsent": [
- {
- "operation": "view"
}
], - "SegmentAllFolders": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "SegmentFolder": [
- {
- "operation": "view",
- "id": "42"
}
], - "Profiles": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "ProfilesApiToken": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "ActivationTemplate": [
- {
- "operation": "view"
}
], - "Activation": [
- {
- "operation": "create_only_with_template"
}
], - "Authentications": [
- {
- "operation": "use_limited",
- "ids": "1,2,3"
}
], - "Sources": [
- {
- "operation": "restricted"
}
], - "Destinations": [
- {
- "operation": "restricted"
}
], - "Databases": [
- {
- "operation": "query",
- "ids": "1,2,3"
}
], - "UniversalConsent": [
- {
- "operation": "full"
}
], - "TrafficControls": [
- {
- "operation": "full"
}
], - "TrafficControl": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "Journeys": [
- {
- "operation": "full"
}
], - "Journey": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "LlmProject": [
- {
- "operation": "full",
- "project_id": "1"
}
]
}, - "policies": [
- {
- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
]
}
Updates a user's permissions.
Array of objects Permissions on resource | |
Array of objects Permissions on resource | |
Array of objects Permissions on resource | |
Array of objects Permissions on resource | |
Array of objects Permissions on resource | |
Array of objects Permissions on resource | |
Array of objects Permissions on ActivationTemplate | |
Array of objects Permissions on Activation |
OK
{- "WorkflowProject": [
- {
- "operation": "view"
}
], - "Segmentation": [
- {
- "operation": "full"
}
], - "MasterSegmentConfigs": [
- {
- "operation": "view"
}
], - "MasterSegmentConfig": [
- {
- "operation": "view",
- "id": "42"
}
], - "SegmentAllFolders": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "SegmentFolder": [
- {
- "operation": "view",
- "id": "42"
}
], - "ActivationTemplate": [
- {
- "operation": "view"
}
], - "Activation": [
- {
- "operation": "create_only_with_template"
}
]
}
{- "user_id": 123,
- "permissions": {
- "WorkflowProject": [
- {
- "operation": "view"
}
], - "Segmentation": [
- {
- "operation": "full"
}
], - "MasterSegmentConfigs": [
- {
- "operation": "view"
}
], - "MasterSegmentConfig": [
- {
- "operation": "view",
- "id": "42"
}
], - "SegmentAllFolders": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "SegmentFolder": [
- {
- "operation": "view",
- "id": "42"
}
], - "ActivationTemplate": [
- {
- "operation": "view"
}
], - "Activation": [
- {
- "operation": "create_only_with_template"
}
]
}
}
{- "user_ids": [
- 123
]
}
[- {
- "user_id": 123,
- "account_id": 123,
- "permissions": {
- "WorkflowProject": [
- {
- "operation": "view"
}
], - "WorkflowProjectLevel": [
- {
- "operation": "view",
- "name": "my_wf"
}
], - "WorkflowRestrictedOperators": [
- {
- "operation": "edit"
}
], - "Segmentation": [
- {
- "operation": "full"
}
], - "MasterSegmentConfigs": [
- {
- "operation": "view"
}
], - "MasterSegmentConfig": [
- {
- "operation": "view",
- "id": "42"
}
], - "MasterSegmentColumn": [
- {
- "operation": "view_clear",
- "column_identifiers": "1$attribute.customers.age,1$attribute.customers.first_name"
}
], - "MasterSegmentAllColumns": [
- {
- "operation": "view_clear",
- "audience_id": "1"
}
], - "CookieConsent": [
- {
- "operation": "view"
}
], - "SegmentAllFolders": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "SegmentFolder": [
- {
- "operation": "view",
- "id": "42"
}
], - "Profiles": [
- {
- "operation": "view",
- "audience_id": "42"
}
], - "ProfilesApiToken": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "ActivationTemplate": [
- {
- "operation": "view"
}
], - "Activation": [
- {
- "operation": "create_only_with_template"
}
], - "Authentications": [
- {
- "operation": "use_limited",
- "ids": "1,2,3"
}
], - "Sources": [
- {
- "operation": "restricted"
}
], - "Destinations": [
- {
- "operation": "restricted"
}
], - "Databases": [
- {
- "operation": "query",
- "ids": "1,2,3"
}
], - "UniversalConsent": [
- {
- "operation": "full"
}
], - "TrafficControls": [
- {
- "operation": "full"
}
], - "TrafficControl": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "Journeys": [
- {
- "operation": "full"
}
], - "Journey": [
- {
- "operation": "full",
- "audience_id": "42"
}
], - "LlmProject": [
- {
- "operation": "full",
- "project_id": "1"
}
]
}, - "policies": [
- {
- "id": 67,
- "account_id": 123,
- "name": "some_policy",
- "description": "written about the policy",
- "user_count": 3
}
]
}
]