---
title: "Share a project data entry sharable with another user or user group"
method: POST
path: "/gdc/projects/{project_id}/userData/{entry_key}/modifyShare"
tags: ["project-user-data"]
---

# Share a project data entry sharable with another user or user group

`POST /gdc/projects/{project_id}/userData/{entry_key}/modifyShare`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{project_id}/userData/{entry_key}/modifyShare`
- Auth: none declared

In the request, the `operation` parameter specifies how to modify a project data entry.
In this API call, `operation` is always set to `SET` so that the project data entry gets updated in the following way: all existing information about sharing this entry is removed, and new information (who to share this entry with) is added.

## Path parameters

- `project_id` string, required
- `entry_key` string, required

## Request body

- UserDataShareModify: Structure contains share information for user-data
  - `modifyShare` object, required
    - `operation` string, required
    - `items` union, required
      - UserDataSharedToGroup
        - `sharedToGroup` object, required
          - `userGroup` string, required
      - UserDataSharedToUser
        - `sharedToUser` object, required
          - `user` string, uri, required: URI of the user's profile

## Response `200`

_

---

[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)
