Data Set Grant

Get All Data Set Grants

Finds and returns all data set grants for the queried data set if the user has access to the data set.

get/dataSetGrants

Request

  • Base URL
    https://data.lucid.app
  • URL
    https://data.lucid.app/dataSetGrants
  • Auth
    OAuth 2
    Authorization code: https://lucid.app/oauth2/authorize
    Token URL: https://api.lucid.co/oauth2/token scopes: data-service.admin

Query parameters

dataSetstring required

Data set to get grants for

Response

OK with array of Data Set Grant

uristring required

URI of the data set grant

dataSetstring required

Link to get the data set for the grant

permissionTypestring required

Type of permission granted

identifierstring required

The document id, account id, or user id matching the permission type

rolestring required

Available types are: 'edit' and 'view'

Example response

[
  {
    "uri": "https://data.lucid.app/dataSetGrants/435",
    "dataSet": "https://data.lucid.app/dataSets/8",
    "permissionType": "account",
    "identifier": "1234",
    "role": "edit"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.