Listar miembros del equipo
GET
/teams/{teamId}/members
const url = 'https://api.dev.lade.com.mx/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members?limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.dev.lade.com.mx/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members?limit=20' \ --header 'Authorization: Bearer <token>'Lista miembros del equipo con paginación. Solo OWNER y ADMIN pueden ver la lista.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»teamId
required
string format: uuid
ID del equipo (UUID)
Query Parameters
Sección titulada «Query Parameters»limit
integer
Número máximo de resultados (1-100)
cursor
string
Cursor para paginación (de nextCursor)
Responses
Sección titulada «Responses»Lista de miembros con paginación
Media typeapplication/json
Respuesta paginada de GET /teams/{teamId}/members
object
members
Array<object>
Miembro de equipo como lo devuelve GET /teams/{teamId}/members
object
userId
string format: uuid
name
Nombre(s)
string
fatherLastName
Apellido paterno
string
motherLastName
Apellido materno
string
email
string format: email
photoUrl
string
role
Rol del usuario en el equipo
string
joinedAt
string format: date-time
count
Número de miembros en esta página
integer
limit
Límite solicitado
integer
hasMore
Si hay más resultados disponibles
boolean
nextCursor
Cursor para obtener la siguiente página (solo presente si hasMore=true)
string
Example
{ "members": [ { "userId": "550e8400-e29b-41d4-a716-446655440000", "name": "Juan", "fatherLastName": "Pérez", "motherLastName": "García", "email": "juan@ejemplo.com", "photoUrl": "", "role": "OWNER", "joinedAt": "2024-01-15T10:30:00Z" } ], "count": 1, "limit": 20, "hasMore": false}No autenticado
Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{ "error": "Unauthorized", "message": "Invalid or expired token"}Sin permisos
Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{ "error": "Forbidden", "message": "You don't have permission to access this resource"}