Buckets
Sharing targets list
Lists the projects and users a bucket of the caller's project can be shared to: every project of the organization and every admin of those projects.
Requires an admin token whose admin either has the share role in the project or is a member of the project's organization. A share-role admin gets the lists even without organization membership.
get/v2/storage/sharing-targets
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Projects and users a bucket can be shared to.
Example response
{
"projects": [
{
"id": 123,
"name": "Project name"
}
],
"users": [
{
"id": 5,
"name": "Jan Developer",
"email": "jan.dev@keboola.com"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.