Skip to content

List grants

GET
/v1/workspaces/{workspaceId}/grants
curl --request GET \
--url 'https://shareout.site/v1/workspaces/example/grants?resource_type=folder' \
--header 'Authorization: Bearer <token>'
workspaceId
required
string

Workspace ID or slug.

subject_id
string
resource_type
string
Allowed values: folder artifact file
resource_id
string

Grants

Media type application/json
object
grants
Array<object>
object
id
string
subject_type
string
Allowed values: sharee external_user
subject_id
string
resource_type
string
Allowed values: folder artifact file
resource_id
string
capability
string
Allowed values: view comment create edit
Example
{
"grants": [
{
"subject_type": "sharee",
"resource_type": "folder",
"capability": "view"
}
]
}