Skip to content

Commit

Permalink
member anonymize and destroy: add note about error states
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed Aug 18, 2023
1 parent b5db574 commit f24e276
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/includes/authenticated_api/_members.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ Deletes are synchronous and may take several seconds depending on how many resou

Ownership of Petitions and Events created by the deleted member will be re-assigned to the user account specified in the organisation's settings.

Note that if the member has a user account that is associated with one or more REST API Apps, the member cannot be deleted unless those apps are first deleted through the web UI.
If the member cannot be deleted for any reason, the JSON response will contain error messages explaining the problem.

<div></div>


Expand All @@ -119,6 +122,9 @@ Anonymization is synchronous and may take several seconds depending on how many

Ownership of Petitions and Events created by the deleted member will be re-assigned to the user account specified in the organisation's settings.

Note that if the member has a user account that is associated with one or more REST API Apps, the member cannot be anonymized unless those apps are first deleted through the web UI.
If the member cannot be anonymized for any reason, the response will have a 422 Unprocessable Entity status and the JSON body will contain error messages explaining the problem.

<div></div>


Expand Down

0 comments on commit f24e276

Please sign in to comment.