Skip to content

Commit

Permalink
updating docs 43 to 47 (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-robustelli authored Aug 10, 2023
1 parent 31b1e4e commit 3d504ce
Show file tree
Hide file tree
Showing 30 changed files with 81 additions and 93 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
---
layout: blog-post
publish_date: 2019-10-08
title: Deactivating, reactivating, and deleting a FusionAuth user in Python
description: This is a step-by-step guide to deactivate, reactivate, or delete a user within your applications using API calls from the FusionAuth Python client library.
author: Amy Martin
image: blogs/deactivating-reactivating-deleting-user-fusionauth-python/deactivating-reactivating-deleting-user-fusionauth-python-header-image-2.png
authors: Amy Martin
image: /img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/deactivating-reactivating-deleting-user-fusionauth-python-header-image-2.png
tags: client-python tutorial tutorial-python python
category: tutorial
categories: tutorial
updated_date: 2021-08-23
excerpt_separator: "<!--more-->"
excerpt_separator: "{/* more */}"
---
import Aside from '../../components/Aside.astro';

Did you know that you can deactivate, reactivate, or delete a user within your applications using API calls from the FusionAuth Python client library? {/* more */}These tools are great for data conscious organizations, executing your organization's data handling compliance policies (_[Learn more about GDPR data compliance here](/learn/expert-advice/ciam/developers-guide-to-gdpr)_), and fast user management for developers using FusionAuth. This tutorial will give us a chance to explore more of the FusionAuth Python client library while learning about these three valuable API calls.

Did you know that you can deactivate, reactivate, or delete a user within your applications using API calls from the FusionAuth Python client library? These tools are great for data conscious organizations, executing your organization's data handling compliance policies (_[Learn more about GDPR data compliance here](/learn/expert-advice/ciam/developers-guide-to-gdpr)_), and fast user management for developers using FusionAuth. This tutorial will give us a chance to explore more of the FusionAuth Python client library while learning about these three valuable API calls.

<!--more-->

**Most recently updated August 23, 2021.**

Expand Down Expand Up @@ -40,9 +41,9 @@ Did you know that you can deactivate, reactivate, or delete a user within your a
- Terminal Access
- Web Browser

{% include _callout-tip.liquid content=
"This tutorial has been updated and tested to work with version 1.28.0."
%}
<Aside type="note">
This tutorial has been updated and tested to work with version 1.28.0.
</Aside>

## Introduction to FusionAuth user management in Python

Expand Down Expand Up @@ -91,13 +92,13 @@ For this tutorial, we'll first need a test user Id that is registered with Fusio

In a web browser, let's go to "Users" in the FusionAuth UI. Select a test user, and under Action, navigate to "Manage", which should look something like this.

{% include _image.liquid src="/assets/img/blogs/action-manage-button.png" alt="Manage user" class="img-fluid" figure=false %}
![Navigate to Manage.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/action-manage-button.png)

On the "Manage User" page in the FusionAuth UI, you'll see the "User Id" located directly under the user's email address. In this instance, it's `4e0f2af0-33a2-4001-8631-0f8225e65f1c`.

Copy it into a text editor and set it off to the side. We'll be using it in a moment and throughout the rest of the tutorial.

{% include _image.liquid src="/assets/img/blogs/terry-test-account.png" alt="Terry test user info" class="img-fluid" figure=false %}
![User Info for Terry the Test User.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/terry-test-account.png)

## Setting up FusionAuth using a Kickstart file

Expand Down Expand Up @@ -159,7 +160,7 @@ Save the program to your server, make sure that `venv` is running, and execute t

Now, let's head on over to a web browser, and browse to "Users" so that we can check out our user. You should notice that the account associated with the user Id we provided is now locked. It will look something like this:

{% include _image.liquid src="/assets/img/blogs/terry-example-locked.png" alt="Terry is now locked" class="img-fluid" figure=false %}
![User Info for Terry the Test User.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/terry-example-locked.png)

When a user is locked, they can no longer log in to any applications, but they are not removed from the system. This is useful if you want to re-enable them later (perhaps after they've paid their bill).

Expand Down Expand Up @@ -231,13 +232,13 @@ Save and execute the `reactivate.py` application on your server. Upon success, y

Refresh the "Users" page in your browser and you'll now notice that the lock icon has disappeared beside our test user and the account has been reactivated.

{% include _image.liquid src="/assets/img/blogs/terry-example-unlocked.png" alt="Terry is now unlocked" class="img-fluid" figure=false %}
![User Info for Terry the Test User.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/terry-example-unlocked.png)

## How to delete a user with FusionAuth Python client library

For our next trick, we will be deleting a test user from the server. If you filled out a lot of profile information on your regular test user, you might want to create an empty test user for this tutorial. Just be sure to grab their "User Id" from the "Manage User" section of FusionAuth.

{% include _image.liquid src="/assets/img/blogs/delete-test-user.png" alt="A user to delete" class="img-fluid" figure=false %}
![User Info for Terry the Test User.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/delete-test-user.png)

Pop open your Python editor, and create a new file called `delete.py`. Import the FusionAuth client library, your API key, and your server info.

Expand Down Expand Up @@ -282,7 +283,7 @@ What if your app didn't quite work? Here's a list of error codes that your app o

If you see a message like, "_Error - FusionAuth encountered an error while processing your request. If the problem persists, contact FusionAuth support for assistance_" you may just need to restart FusionAuth Search.

{% include _image.liquid src="/assets/img/blogs/error-message-screen.png" alt="Error Message Screen" class="img-fluid" figure=false %}
![User Info for Terry the Test User.](/img/blogs/deactivating-reactivating-deleting-user-fusionauth-python/error-message-screen.png)

To restart FusionAuth Search service type

Expand Down Expand Up @@ -332,4 +333,4 @@ This was a quick introduction to user management in FusionAuth with Python. We e

FusionAuth is designed to be the most flexible and secure Customer Identity and Access Management solution available at the best price. We provide registration, login, SSO, MFA, data search, social login, user management and more, 100% free for unlimited users. [Find out more](/ "FusionAuth Home") about FusionAuth and download it today.

[Learn More](/){: .btn .btn-primary}
[Learn More](/)
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
---
layout: blog-post
publish_date: 2019-09-25
title: Denver Startup Week Wrap Up
description: Denver Startup Week is the largest free startup event anywhere. Get details on the 2019 events.
author: Bryan Giese
image: blogs/denver-startup-week.jpg
category: announcement
authors: Bryan Giese
image: /img/blogs/denver-startup-week/denver-startup-week.jpg
categories: announcement
tags: conference denver-startup-week
excerpt_separator: "<!--more-->"
excerpt_separator: "{/* more */}"
---

[Denver Startup Week](https://www.denverstartupweek.com) is the largest free startup event on the planet, attracting more attention and growing larger every year. This year was no exception with a record 20,000+ people participating in more than 350 sessions hosted in venues and offices across the city. It's clear that Denver has assembled a powerful mix of tech expertise, entrepreneurs, and funding channels into a fertile incubator for innovative startups.

<!--more-->
[Denver Startup Week](https://www.denverstartupweek.com) is the largest free startup event on the planet, attracting more attention and growing larger every year.{/* more */} This year was no exception with a record 20,000+ people participating in more than 350 sessions hosted in venues and offices across the city. It's clear that Denver has assembled a powerful mix of tech expertise, entrepreneurs, and funding channels into a fertile incubator for innovative startups.

## International Participation

Expand All @@ -36,4 +34,4 @@ By the end of the five days, Denver Startup Week made sure no one walked away fr
## Learn More About FusionAuth
FusionAuth is designed to be the most flexible and secure Customer Identity and Access Management solution available at the best price. We provide registration, login, SSO, MFA, data search, social login, user management and more, 100% free for unlimited users. [Find out more](/ "FusionAuth Home") about FusionAuth and download it today.

[Learn More](/){: .btn .btn-primary}
[Learn More](/)
Loading

0 comments on commit 3d504ce

Please sign in to comment.