cURL
curl --request PATCH \ --url https://api.fungies.io/v0/users/{userId}/archive \ --header 'Content-Type: application/json' \ --header 'x-fngs-public-key: <api-key>' \ --header 'x-fngs-secret-key: <api-key>' \ --data '{}'
{ "status": "<string>", "data": { "success": true, "archived": true } }
Soft delete (archive) a User account. This action is reversible.
Unique identifier of the User to archive.
"123e4567-e89b-12d3-a456-426614174000"
PATCH /v0/users/:userId/archive Request body
The body is of type object.
object
PATCH /v0/users/:userId/archive Positive response
"success"
Show child attributes