Entrar

End (cerrar manteniendo historial)

POST https://{organization}.myguper.com/api/register/team/member/{id}/end

Cierra el vínculo (salida/baja) llenando endedAt. A diferencia del DELETE, el registro se conserva para auditoría/historial.

El body es opcional — si se omite endedAt, se usa hoy. endedAt no puede ser anterior a startedAt.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de ruta

Name Type Description
id * integer ID del `team_member` activo (`endedAt IS NULL`).

Cuerpo de la petición

Content-Type: application/json

{
    "endedAt": "2026-04-24"                                     // optional
}

Respuestas

{
    "id": 7,
    "personId": 99,
    "positionId": 12,
    "reportsTo": 5,
    "startedAt": "2026-04-24",
    "endedAt": "2026-04-24",
    "data": null
}
Copied to clipboard