Skip to Content
Docs

List the teams a resource is shared with

GET
/api/resource_shares

Needs share on it.

Powers the share dialog (current shares + unshare), so only someone who may change the sharing can enumerate it: 404 when the resource isn't visible, 403 when the caller's role can't share.

Personal access token scope: teams:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/resource_shares'
Example Response200
Empty