App users
Deactivate a user (App users API)
Deactivate a user of a Softr app with the App Users API. The user keeps their account but can no longer sign in. Request, headers and an example with curl.
Blocks the user from signing in, and keeps their account and data. A deactivated user doesn’t count toward your plan’s user limit. Reactivate them with Activate a user.
Request
POST https://studio-api.softr.io/v1/api/users/{email}/deactivate
| Header | Value |
|---|---|
Softr-Api-Key | Your API token. Create one under API tokens in your account menu. See Authentication |
Softr-Domain | Your app’s Softr subdomain or custom domain, such as acme.softr.app |
Replace {email} with the user’s email.
Example
curl --request POST 'https://studio-api.softr.io/v1/api/users/{email}/deactivate' \
--header 'Softr-Api-Key: <your API token>' \
--header 'Softr-Domain: acme.softr.app'Errors
See Errors and rate limits for the status codes and the rate limits.
Related
To manage users without code, see Add and manage users. To manage them from a workflow, use the app user steps. See Steps.