查询参数
分页时要跳过的成员数量。必须大于或等于 0。
返回的成员数量上限。必须在 1 到 200 之间。
响应
企业成员对象数组
企业中的成员总数
跳过的成员数量
返回的成员最大数量
是否还有更多成员
下一页结果的游标
curl -X GET "https://api.devin.ai/v2/enterprise/members?limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"user_id": "user_123",
"email": "[email protected]",
"name": "John Doe",
"enterprise_role": "account_admin",
"created_at": "2024-01-15T10:30:00Z",
"last_login": "2024-01-20T14:22:00Z",
"login_count": 15,
"sessions_created_count": 8
},
{
"user_id": "user_456",
"email": "[email protected]",
"name": "Jane Smith",
"enterprise_role": "account_member",
"created_at": "2024-01-16T09:15:00Z",
"last_login": null,
"login_count": null,
"sessions_created_count": 0
}
],
"total": 125,
"skip": 0,
"limit": 50,
"has_more": true,
"next_cursor": 50
}
分页列出此企业中的成员
curl -X GET "https://api.devin.ai/v2/enterprise/members?limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"user_id": "user_123",
"email": "[email protected]",
"name": "John Doe",
"enterprise_role": "account_admin",
"created_at": "2024-01-15T10:30:00Z",
"last_login": "2024-01-20T14:22:00Z",
"login_count": 15,
"sessions_created_count": 8
},
{
"user_id": "user_456",
"email": "[email protected]",
"name": "Jane Smith",
"enterprise_role": "account_member",
"created_at": "2024-01-16T09:15:00Z",
"last_login": null,
"login_count": null,
"sessions_created_count": 0
}
],
"total": 125,
"skip": 0,
"limit": 50,
"has_more": true,
"next_cursor": 50
}
curl -X GET "https://api.devin.ai/v2/enterprise/members?limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"user_id": "user_123",
"email": "[email protected]",
"name": "John Doe",
"enterprise_role": "account_admin",
"created_at": "2024-01-15T10:30:00Z",
"last_login": "2024-01-20T14:22:00Z",
"login_count": 15,
"sessions_created_count": 8
},
{
"user_id": "user_456",
"email": "[email protected]",
"name": "Jane Smith",
"enterprise_role": "account_member",
"created_at": "2024-01-16T09:15:00Z",
"last_login": null,
"login_count": null,
"sessions_created_count": 0
}
],
"total": 125,
"skip": 0,
"limit": 50,
"has_more": true,
"next_cursor": 50
}