Ir al contenido

End an agent session

POST/api/v1/sessions/{id}/stop

Its work is kept the way Stop on the screen keeps it.

Necesita una clave de API en la cabecera Authorization.

En esta página

Parámetros

CampoEnTipoDescripción
idobligatoriorutastring
A session id
  • formato: uuid

Petición de ejemplo

curl -X POST "https://polaris.example.com/api/v1/sessions/{id}/stop" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Respuestas

EstadoQué es
200OK

También puede dar los errores comunes 400, 401, 403, 404, 429. Ver errores comunes