---
title: "Update owner of a Data Source"
method: PUT
path: "/gdc/dataload/dataSources/{dataSourceId}/changeOwner"
tags: ["cloudresource"]
---

# Update owner of a Data Source

`PUT /gdc/dataload/dataSources/{dataSourceId}/changeOwner`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/dataload/dataSources/{dataSourceId}/changeOwner`
- Auth: none declared

Only the domain admin can update owner of Data Source

## Request body

- DataSourcePutRequest
  - `dataSource` object, required
    - `loginOwner` string, required

## Response `200`

OK - update data source

## Other responses

- `302`: Found
- `400`: Bad Request
- `403`: Forbidden - if current user is not the domain admin
- `404`: Not Found - if the data source does not exist

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
