Add Dataset Member
POST/v1/project/:dataset_id/members/add
Add Dataset Member
Request
Path Parameters
dataset_id Dataset Idrequired
- application/json
Body
required
- MOD1
- MOD1
user_id
object
The user ID to add to the dataset
anyOf
string
email
object
The user Email to add to the dataset, if user_id is not available
anyOf
string
access_role DatasetRole (string)required
Possible values: [ADMIN, EDITOR, VIEWER, EXTERNAL, NONE]
The role to assign to the user in the dataset
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...