Access management
Use the API to retrieve information about users and groups, and to manage access to datasets.
Responses
200
OK
get
GET /api/Users HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text",
"photoMetadata": {
"name": "text",
"url": "text",
"fileType": "text",
"content": "Ynl0ZXM=",
"isManualUpload": true
},
"accountMetadata": {
"createdAt": {},
"lastActivityDate": {}
}
}
]
get
GET /api/permission-sets HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"type": "Global",
"name": "text",
"isBuiltIn": true,
"isDefault": true,
"isDisabled": true,
"operations": [
1
],
"createdDate": {},
"lastModifiedDate": {},
"lastModifiedByUserId": "text"
}
]
get
GET /api/dataset/{datasetId}/shares HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"id": "text",
"permissionSetId": "text",
"sharedWithUser": {
"id": "text",
"userName": "text",
"firstName": "text",
"lastName": "text"
},
"sharedWithGroup": {
"id": "text",
"userName": "text",
"context": "None"
},
"shareableEntityType": "User",
"resourceId": "text"
}
]
Path parameters
datasetIdstringRequired
The ID of the dataset
Body
all ofOptional
A request to modify the permission assignments for a resource.
Responses
200
OK
post
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"
}
]
}
200
OK
{
"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"
}
]
}
Last updated
Was this helpful?