Delete current user's account and all associated data.

Authentication: JWT token required Warning: This action is irreversible and deletes all user data Scope: Deletes current authenticated user's account

Request: No request body required

Deletion Process:

  • Cancels all running executions for this user
  • Deletes all execution history and logs
  • Removes user-created scripts (if user is owner)
  • Deletes user profile and authentication data
  • Revokes all active sessions and tokens
  • Removes user from any Google Groups (if enabled)

Success Response Schema:

{
  "data": {
    "id": "user-123",
    "email": "user@example.com",
    "name": "John Doe",
    "role": "USER",
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T13:00:00Z",
    "deleted_at": "2025-01-15T13:00:00Z",
    "status": "DELETED"
  }
}

Data Cleanup:

  • User profile information permanently deleted
  • Execution history and logs removed
  • Script ownership transferred or scripts deleted
  • Session tokens invalidated immediately
  • Email address becomes available for re-registration

Important Notes:

  • Action cannot be undone - all data is permanently lost
  • User will be immediately logged out from all devices
  • Any shared scripts may become inaccessible to other users
  • Admin users cannot delete their own accounts via this endpoint

GDPR Compliance:

  • Implements "right to erasure" requirements
  • Removes all personal data from system
  • Maintains minimal audit log for compliance (anonymized)

Error Responses:

  • 401 Unauthorized: JWT token required
  • 403 Forbidden: Cannot delete admin accounts via self-service
  • 500 Internal Server Error: Account deletion failed
delete/api/v1/user/me

Response

Success

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.