# Data Management Permissions

Table 1 Fine-grained permissions for dataset management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Dataset List | GET /v2/{project_id}/datasets | modelarts:dataset:listDatasets | N/A | √ | √
Creating a Dataset | POST /v2/{project_id}/datasets | modelarts:dataset:createDataset | obs:bucket:HeadBucket obs:bucket:ListBucket obs:object:PutObject obs:object:PutObject obs:bucket:ListAllMyBuckets | √ | √
Querying Details About a Dataset | GET /v2/{project_id}/datasets/{dataset_id} | modelarts:dataset:getDataset | N/A | √ | √
Modifying a Dataset | PUT /v2/{project_id}/datasets/{dataset_id} | modelarts:dataset:updateDataset | N/A | √ | √
Deleting a Dataset | DELETE /v2/{project_id}/datasets/{dataset_id} | modelarts:dataset:deleteDataset | obs:bucket:ListAllMyBuckets obs:bucket:ListBucket obs:object:DeleteObject | √ | √
Querying Dataset Statistics | GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/stats | modelarts:dataset:getDataset | N/A | √ | √
Querying the Monitoring Data of a Dataset | GET /v2/{project_id}/datasets/{dataset_id}/metrics | modelarts:dataset:getDataset | N/A | √ | √
Querying Statistics for a Team Labeling Task | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/stats | modelarts:dataset:getWorkforceTask | N/A | √ | √
Querying Statistics for the Member Labeling Progresses in a Team Labeling Task | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/metrics | modelarts:dataset:getWorkforceTask | N/A | √ | √

Table 2 Fine-grained permissions for dataset version management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Dataset Version List | GET /v2/{project_id}/datasets/{dataset_id}/versions | modelarts:dataset:getDataset | N/A | √ | √
Creating a Dataset Labeling Version | POST /v2/{project_id}/datasets/{dataset_id}/versions | modelarts:dataset:createDatasetVersion | obs:object:PutObject | √ | √
Querying Details About a Dataset Version | GET /v2/{project_id}/datasets/{dataset_id}/versions/{version_id} | modelarts:dataset:getDataset | N/A | √ | √
Deleting a Dataset Labeling Version | DELETE /v2/{project_id}/datasets/{dataset_id}/versions/{version_id} | modelarts:dataset:deleteDatasetVersion | obs:bucket:ListAllMyBuckets obs:bucket:ListBucket obs:object:DeleteObject | √ | √

Table 3 Fine-grained permissions for sample management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Sample List | GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples | modelarts:sample:listSamples | obs:object:GetObject | √ | √
Adding Samples in Batches | POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples | modelarts:sample:addSamples | obs:object:PutObject | √ | √
Deleting Samples in Batches | POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/delete | modelarts:sample:deleteSamples | obs:object:DeleteObject | √ | √
Querying Details About a Sample | GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id} | modelarts:sample:getSample | obs:object:GetObject | √ | √
Querying Sample Search Criteria | GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/search-condition | modelarts:sample:listSamples | N/A | √ | √
Querying the Sample List of a Team Labeling Task by Page | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples | modelarts:sample:listSamples | obs:object:GetObject | √ | √
Querying Details About a Team Labeling Sample | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples/{sample_id} | modelarts:sample:getSample | obs:object:GetObject | √ | √

Table 4 Fine-grained permissions for label management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Dataset Label List | GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels | modelarts:dataset:getDataset | N/A | √ | √
Creating a Dataset Label | POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels | modelarts:dataset:updateDataset | N/A | √ | √
Modifying Labels in Batches | PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels | modelarts:dataset:updateDataset | N/A | √ | √
Deleting Labels in Batches | POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/delete | modelarts:dataset:updateDataset | N/A | √ | √
Updating a Label by Label Name | PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name} | modelarts:dataset:updateDataset | N/A | √ | √
Deleting a Label and the Files with This Label Only | DELETE /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name} | modelarts:dataset:updateDataset | obs:object:DeleteObject | √ | √

Table 5 Fine-grained permissions for manual labeling
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Updating Sample Labels in Batches | PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples | modelarts:dataset:updateDataset | obs:object:GetObject | √ | √

Table 6 Fine-grained permissions for labeling task management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Team Labeling Task List of a Dataset | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks | modelarts:dataset:listWorkforceTasks | N/A | √ | √
Creating a Team Labeling Task | POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks | modelarts:dataset:createWorkforceTask | N/A | √ | √
Querying Details About a Team Labeling Task | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id} | modelarts:dataset:getWorkforceTask | N/A | √ | √
Starting a Team Labeling Task | POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance | modelarts:dataset:updateWorkforceTask | N/A | √ | √
Updating a Team Labeling Task | PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id} | modelarts:dataset:updateWorkforceTask | N/A | √ | √
Deleting a Team Labeling Task | DELETE /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id} | modelarts:dataset:deleteWorkforceTask | N/A | √ | √
Creating a Team Labeling Acceptance Task | POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance | modelarts:dataset:updateWorkforceTask | N/A | √ | √
Querying the Acceptance Report of a Team Labeling Task | GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/report | modelarts:dataset:getWorkforceTask | N/A | √ | √
Updating the Status of a Team Labeling Acceptance Task | PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/status | modelarts:dataset:updateWorkforceTask | N/A | √ | √

Table 7 Fine-grained permissions for team labeling flow management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Submitting Sample Review Comments for Acceptance | POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/batch-comment | modelarts:dataset:updateWorkforceTask | N/A | √ | √
Updating Labels of Team Labeling Samples in Batches | PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples | modelarts:dataset:updateWorkforceTask | N/A | √ | √

Table 8 Fine-grained permissions for labeling team management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Labeling Team List | GET /v2/{project_id}/workforces | modelarts:processTask:listWorkforce | N/A | √ | √
Creating a Labeling Team | POST /v2/{project_id}/workforces | modelarts:processTask:createWorkforce | N/A | √ | √
Querying Details About a Labeling Team | GET /v2/{project_id}/workforces/{workforce_id} | modelarts:processTask:getWorkforce | N/A | √ | √
Updating a Labeling Team | PUT /v2/{project_id}/workforces/{workforce_id} | modelarts:processTask:updateWorkforce | N/A | √ | √
Deleting a Labeling Team | DELETE /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id} | modelarts:processTask:updateWorkforce | N/A | √ | √

Table 9 Fine-grained permissions for labeling team member management
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Sending an Email to Labeling Team Members | POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/notify | modelarts:dataset:updateWorkforceTask | N/A | √ | √
Querying All Labeling Team Members | GET /v2/{project_id}/workforces/workers | modelarts:processTask:getWorkforce | N/A | √ | √
Querying Members in a Labeling Team | GET /v2/{project_id}/workforces/{workforce_id}/workers | modelarts:processTask:getWorkforce | N/A | √ | √
Creating a Labeling Team Member | POST /v2/{project_id}/workforces/{workforce_id}/workers | modelarts:processTask:updateWorkforce | N/A | √ | √
Deleting Labeling Team Members in Batches | POST /v2/{project_id}/workforces/{workforce_id}/workers/batch-delete | modelarts:processTask:updateWorkforce | N/A | √ | √
Querying Details About a Labeling Team Member | GET /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id} | modelarts:processTask:getWorkforce | N/A | √ | √
Updating Labeling Team Members | PUT /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id} | modelarts:processTask:updateWorkforce | N/A | √ | √
Deleting a Labeling Team Member | DELETE /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id} | modelarts:processTask:updateWorkforce | N/A | √ | √

Table 10 Fine-grained permissions for data import tasks
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Dataset Import Task List | GET /v2/{project_id}/datasets/{dataset_id}/import-tasks | modelarts:dataset:getDataset | N/A | √ | √
Creating a Dataset Import Task | POST /v2/{project_id}/datasets/{dataset_id}/import-tasks | modelarts:dataset:createImportTask | N/A | √ | √
Querying Details About a Dataset Import Task | GET /v2/{project_id}/datasets/{dataset_id}/import-tasks/{task_id} | modelarts:dataset:getDataset | N/A | √ | √

Table 11 Fine-grained permissions for data export tasks
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Dataset Export Task List | GET /v2/{project_id}/datasets/{dataset_id}/export-tasks | modelarts:dataset:getDataset | N/A | √ | √
Creating a Dataset Export Task | POST /v2/{project_id}/datasets/{dataset_id}/export-tasks | modelarts:dataset:createExportTask | N/A | √ | √
Querying the Status of a Dataset Export Task | GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id} | modelarts:dataset:getDataset | N/A | √ | √

Table 12 Fine-grained permissions for data synchronization tasks
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Synchronizing a Dataset | POST /v2/{project_id}/datasets/{dataset_id}/sync-data | modelarts:dataset:updateDataset | obs:bucket:ListBucket obs:bucket:ListAllMyBuckets | √ | √
Querying the Status of a Dataset Synchronization Task | GET /v2/{project_id}/datasets/{dataset_id}/sync-data/status | modelarts:dataset:getDataset | N/A | √ | √

Table 13 Fine-grained permissions for auto labeling tasks
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Auto Labeling Sample List | GET /v2/{project_id}/datasets/{dataset_id}/auto-annotations/samples | modelarts:sample:listSamples | obs:object:GetObject | √ | √
Querying Details About an Auto Labeling Sample | GET /v2/{project_id}/datasets/{dataset_id}/auto-annotations/samples/{sample_id} | modelarts:sample:getSample | obs:object:GetObject | √ | √
Querying Auto Labeling Tasks by Page | GET /v2/{project_id}/datasets/{dataset_id}/tasks | modelarts:dataset:getDataset | N/A | √ | √
Starting an Auto Labeling Task | POST /v2/{project_id}/datasets/{dataset_id}/tasks | modelarts:dataset:updateDataset | obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetBucketPolicy obs:bucket:DeleteBucketPolicy obs:bucket:ListBucket obs:bucket:ListAllMyBuckets obs:object:DeleteObject obs:bucket:ListBucketVersions | √ | √
Querying Details About an Auto Labeling Task | GET /v2/{project_id}/datasets/{dataset_id}/tasks/{task_id} | modelarts:dataset:getDataset | N/A | √ | √
Stopping an Auto Labeling Task | POST /v2/{project_id}/datasets/{dataset_id}/tasks/{task_id}/stop | modelarts:dataset:updateDataset | N/A | √ | √

Table 14 Fine-grained permissions for data processing tasks
Permission | API | Action | Related Action | IAM Project | Enterprise Project
--- | --- | --- | --- | --- | ---
Querying the Data Processing Task List | GET /v2/{project_id}/processor-tasks | modelarts:processTask:listProcessTasks | N/A | √ | √
Creating a Data Processing Task | POST /v2/{project_id}/processor-tasks | modelarts:processTask:createProcessTask | obs:bucket:HeadBucket obs:bucket:ListBucket obs:object:PutObject obs:object:PutObject obs:bucket:ListAllMyBuckets obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetBucketPolicy obs:bucket:DeleteBucketPolicy | √ | √
Querying the Algorithms for a Data Processing Type | GET /v2/{project_id}/processor-tasks/items | modelarts:processTask:getProcessTask | N/A | √ | √
Querying Details About a Data Processing Task | GET /v2/{project_id}/processor-tasks/{task_id}/versions/{version_id} | modelarts:processTask:getProcessTask | N/A | √ | √
Updating a Data Processing Task | PUT /v2/{project_id}/processor-tasks/{task_id} | modelarts:processTask:updateProcessTask | N/A | √ | √
Deleting a Data Processing Task | DELETE /v2/{project_id}/processor-tasks/{task_id} | modelarts:processTask:deleteProcessTask | obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetBucketPolicy obs:bucket:DeleteBucketPolicy obs:bucket:ListBucket obs:bucket:ListAllMyBuckets obs:object:DeleteObject | √ | √
Querying the Versions of a Data Processing Task | GET /v2/{project_id}/processor-tasks/{task_id}/versions | modelarts:processTask:getProcessTask | obs:bucket:HeadBucket obs:bucket:ListBucket obs:object:PutObject obs:object:PutObject obs:bucket:ListAllMyBuckets obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetBucketPolicy obs:bucket:DeleteBucketPolicy | √ | √
Creating a Data Processing Task Version | POST /v2/{project_id}/processor-tasks/{task_id}/versions | modelarts:processTask:createProcessTask | N/A | √ | √
Querying Details About a Data Processing Task Version | GET /v2/{project_id}/processor-tasks/{task_id}/versions | modelarts:processTask:getProcessTask | N/A | √ | √
Deleting a Data Processing Task Version | DELETE /v2/{project_id}/processor-tasks/{task_id}/versions/{version_id} | modelarts:processTask:deleteProcessTask | obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetBucketPolicy obs:bucket:DeleteBucketPolicy obs:bucket:ListBucket obs:bucket:ListAllMyBuckets obs:object:DeleteObject | √ | √
Querying the Result of a Data Processing Task Version | GET /v2/{project_id}/processor-tasks/{task_id}/versions/{version_id}/results | modelarts:processTask:getProcessTask | obs:object:GetObject | √ | √
Stopping a Data Processing Task Version | POST /v2/{project_id}/processor-tasks/{task_id}/versions/{version_id}/stop | modelarts:processTask:updateProcessTask | N/A | √ | √

Parent topic: Permissions Policies and Supported Actions