🔄 Share a Dataset with Another User
To share a dataset with a registered user, issue a call to the following API:
Request:
POST /api/v1/dataset/{dataset_id}/share
Headers: Authorization: Bearer <jwt>
Form Parameters:
user_email
: Email of a registered user
Example:
curl -X POST -H "Authorization: Bearer <jwt>" \
-F [email protected] \
http://localhost:9999/api/v1/dataset/{dataset_id}/share
Response:
- ✅ 200: Successfully shared.
- ❌ 404: "Failed to share dataset."
Updated 7 days ago