deprecated-oc-search/api-client/oc-catalog/docs/UserApi.md
2023-08-26 22:04:56 +02:00

1.6 KiB

\UserApi

All URIs are relative to https://localhost/v1

Method HTTP request Description
UserControllerLogin Get /user/login
UserControllerLogout Get /user/logout

UserControllerLogin

UserControllerLogin(ctx, username, password)

Logs user into the system

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
username string The username for login
password string The password for login

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UserControllerLogout

UserControllerLogout(ctx, )

Logs out current logged in user session

Required Parameters

This endpoint does not need any parameter.

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]