Ir al contenido

End a CLI sign-in

DELETE/api/cli/session

Only a key issued by `plr login` can end itself; any other key is answered 409.

Necesita una clave de API en la cabecera Authorization.

En esta página

Petición de ejemplo

curl -X DELETE "https://polaris.example.com/api/cli/session" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Respuestas

EstadoQué es
204Signed out
409This key is not a CLI sign-in

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