---
updatedAt: 2025-09-22T20:33:12.000Z
agentTools:
  projectIndex: https://docs.v7labs.com/llms.txt
---

# Add Workforce Managers to Dataset

Using V7's API to programmatically add workforce managers to your dataset

**Note:** The list of user\_ids should include all workforce managers even if they have already been added. This request will overwrite the previous values.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "darwin-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://darwin.v7labs.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-default": "ApiKey {{key}}",
        "x-bearer-format": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/datasets/{dataset_id}": {
      "put": {
        "summary": "Add Workforce Managers to Dataset",
        "description": "Using V7's API to programmatically add workforce managers to your dataset",
        "operationId": "add-workforce-managers-to-dataset",
        "parameters": [
          {
            "name": "dataset_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Dataset name"
                  },
                  "workforce_managers": {
                    "type": "array",
                    "description": "List of workforce manager user_ids to add to your dataset",
                    "items": {
                      "properties": {
                        "user_id": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```