मुख्य सामग्री पर जाएं
POST
DMs ब्लॉक करें

प्राधिकरण

Authorization
string
header
आवश्यक

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

dm.write

Send and manage your Direct Messages.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

पथ पैरामीटर

id
string
आवश्यक

उस लक्षित उपयोगकर्ता की id, जिसके लिए प्रमाणित उपयोगकर्ता डीएम ब्लॉक करने का अनुरोध कर रहा है। इस उपयोगकर्ता का विशिष्ट पहचानकर्ता। इसे स्ट्रिंग के रूप में लौटाया जाता है, ताकि उन भाषाओं और टूल्स से जुड़ी जटिलताओं से बचा जा सके जो बड़े पूर्णांकों को संभाल नहीं सकते।

Pattern: ^[0-9]{1,19}$
उदाहरण:

"2244994945"

प्रतिक्रिया

अनुरोध सफल हुआ।

data
object
errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) में परिभाषित एक HTTP Problem Details ऑब्जेक्ट।