Users
Archive User
Soft delete (archive) a User account. This action is reversible.
Authorization
Public key Secret key x-fngs-public-key<token>
In: header
x-fngs-secret-key<token>
In: header
Path Parameters
userId*string
Unique identifier of the User to archive.
Format
uuidRequest Body
application/json
PATCH /v0/users/:userId/archive Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v0/users/123e4567-e89b-12d3-a456-426614174000/archive" \ -H "Content-Type: application/json" \ -d '{}'{ "status": "success", "data": { "success": true, "archived": true }}