Access management
Use the API to retrieve information about users and groups, and to manage access to datasets.
Last updated
Was this helpful?
Use the API to retrieve information about users and groups, and to manage access to datasets.
Last updated
Was this helpful?
Was this helpful?
GET /api/Users HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text",
"organizationId": "text",
"photoMetadata": {
"name": "text",
"url": "text",
"fileType": "text",
"content": "Ynl0ZXM=",
"isManualUpload": true
},
"accountMetadata": {
"createdAt": {},
"lastActivityDate": {}
},
"teamName": "text"
}
]GET /api/Groups HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"userName": "text",
"context": "None"
}
]GET /api/permission-sets HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"type": "Global",
"name": "text",
"isBuiltIn": true,
"isDefault": true,
"isDisabled": true,
"lastModifiedDate": {},
"operations": [
1
],
"createdDate": {},
"lastModifiedByUserId": "text"
}
]GET /api/dataset/{datasetId}/shares HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"permissionSetId": "text",
"sharedWithUser": {
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text"
},
"sharedWithGroup": {
"id": "text",
"userName": "text",
"context": "None"
},
"shareableEntityType": "User",
"resourceId": "text"
}
]POST /api/dataset/{datasetId}/shares/bulk HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"grant": [
{
"sharedWithUserId": "text",
"sharedWithGroupId": "text",
"permissionSetId": "text"
}
],
"revoke": [
{
"sharedWithUserId": "text",
"sharedWithGroupId": "text",
"permissionSetId": "text"
}
]
}{
"granted": [
{
"id": "text",
"permissionSetId": "text",
"sharedWithUser": {
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text"
},
"sharedWithGroup": {
"id": "text",
"userName": "text",
"context": "None"
},
"shareableEntityType": "User",
"resourceId": "text"
}
],
"revoked": [
{
"id": "text",
"permissionSetId": "text",
"sharedWithUser": {
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text"
},
"sharedWithGroup": {
"id": "text",
"userName": "text",
"context": "None"
},
"shareableEntityType": "User",
"resourceId": "text"
}
]
}