团队成员

GET https://uc.my/api/team-members/{team_id}
curl --request GET \
--url 'https://uc.my/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": [
        {
            "id": 1,
            "team_id": 1,
            "user_email": "hello@example.com",
            "access": {
                "read": true,
                "create": true,
                "update": true,
                "delete": false
            },
            "status": 1,
            "datetime": "2025-10-16 23:21:34",
            "last_datetime": null
        }
    ]
}
POST https://uc.my/api/teams
参数 详情 描述
team_id 必需 整数 -
user_email 必需 字符串 -
access 可选 字符串 数组 read.all
create.links , create.notification_handlers , create.projects , create.pixels , create.biolinks_blocks , create.domains , create.payment_processors , create.signatures , create.splash_pages
update.links , update.notification_handlers , update.projects , update.pixels , update.biolinks_blocks , update.domains , update.payment_processors , update.signatures , update.splash_pages
delete.links , delete.notification_handlers , delete.data , delete.projects , delete.pixels , delete.biolinks_blocks , delete.domains , delete.guests_payments , delete.payment_processors , delete.signatures , delete.splash_pages
curl --request POST \
--url 'https://uc.my/api/team-members' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'team_id=1' \
--form 'user_email=hello@example.com' \
{
    "data": {
        "id": 1
    }
}
POST https://uc.my/api/team-members/{team_member_id}
参数 详情 描述
access 可选 字符串 数组 read.all
create.links , create.notification_handlers , create.projects , create.pixels , create.biolinks_blocks , create.domains , create.payment_processors , create.signatures , create.splash_pages
update.links , update.notification_handlers , update.projects , update.pixels , update.biolinks_blocks , update.domains , update.payment_processors , update.signatures , update.splash_pages
delete.links , delete.notification_handlers , delete.data , delete.projects , delete.pixels , delete.biolinks_blocks , delete.domains , delete.guests_payments , delete.payment_processors , delete.signatures , delete.splash_pages
curl --request POST \
--url 'https://uc.my/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'access[]=create' \
--form 'access[]=update' \
{
    "data": {
        "id": 1
    }
}
DELETE https://uc.my/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://uc.my/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \