Skip to content
Get started

Auth

Current user profile
auth.retrieve_current_user() -> AuthRetrieveCurrentUserResponse
GET/api/auth/me/
Register
auth.register(AuthRegisterParams**kwargs) -> AuthRegisterResponse
POST/api/auth/register/

AuthAPI Keys

List API tokens
auth.api_keys.list(APIKeyListParams**kwargs) -> APIKeyListResponse
GET/api/auth/api-keys/
Generate API token
auth.api_keys.create(APIKeyCreateParams**kwargs) -> APIKeyCreateResponse
POST/api/auth/api-keys/
Revoke API token
auth.api_keys.revoke(strid)
DELETE/api/auth/api-keys/{id}/

AuthToken

Create
auth.token.create(TokenCreateParams**kwargs) -> TokenCreateResponse
POST/api/auth/token/
Refresh
auth.token.refresh(TokenRefreshParams**kwargs) -> TokenRefreshResponse
POST/api/auth/token/refresh/