User / User Group Scopes
Last updated
Last updated
URL
POST
Request
Path parameters
Parameter name
Parameter type
Description
datasetId
string
Dataset id of the dataset
Request body
Property name
Property type
Description
user_scopes
array
Array of DatasetUserScopeResource
user_group_scopes
array
Array of DatasetUserGroupScopeResource
Example body
{ "user_scopes": [{ "email" : "user@deepen.ai", "scopes" : ["scope1"]}], "user_group_scopes": [{ "user_group_id" : "group_id", "scopes" : ["scope1"]}], }
Response
Returns an empty response on successful completion.
URL
Request
Request body
Property name
Property type
Description
file_size
Int
file size of profile Image
file_type
string
file type of profile Image
file_origin
string
file origin of profile Image
Example body
{ "file_size": 18611529.0, "file_type": "application/zip",
"file_origin": "localhost" }
Response
Returns an empty response object with profile image id, resumable upload url and signed form data successful completion.
{
'profile_image_id': profile_image_id,
'resumable_upload_url': resumable_upload_url,
'signed_form_data': signed_form_data,
}
URL
Request
Response
Returns an empty response object with profile image url data successful completion.
{
'profile_image_url': signed_url
}
POST
GET