TTWrite API Documentation: block_user Endpoint
This document provides details on using the block_user
endpoint to block or unblock user profiles in the TTWrite API.
API Endpoint: Block User Profile
API Endpoint
- URL:
mobile_api/block_user
Description
This API allows you to block or unblock a user profile. The behavior is toggle-based:
- First call: Blocks the user.
- Second call: Unblocks the user.
Post Parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | Example: de25cc16eb00960f076... |
user_id | Target user ID | ID of the user to block/unblock |
Important Notes
- The API operates as a toggle mechanism: repeated calls alternate between blocking and unblocking the user.
- Ensure
session_id
is valid and corresponds to the authenticated user making the request.
admin December 8, 2024 API toggle behavior, block user API, block user functionality, block_user endpoint, block/unblock API, mobile API endpoints, profile management API, session ID parameter, target user ID, toggle block user, TTWrite API, TTWrite documentation, unblock user API, unblock user functionality, user blocking guide, user profile blocking, user profile management, user profile unblocking, user relationship management API, Social Media, TTWrite Comments Off on TTWrite API Documentation: block_user Endpoint