curl--location--request PUT 'https://api.spotify.com/me/player/pause' \
--header'Authorization;'
响应示例响应示例
200 - 示例 1
{"error":{"message":"string","status":0}}
请求参数
Query 参数
device_id
可选
The id of the device this command is targeting. If not supplied, the user's currently active device is the target.
Header 参数
Authorization
必需
A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details. The access token must have been issued on behalf of a user.
返回响应
🟢200成功
application/json
Body
error
object(ErrorObject)
可选
message
string
可选
A short description of the cause of the error.
status
integer<int32>
可选
The HTTP status code (also returned in the response header; see Response Status Codes for more information).
🟢204A completed request will return a `204 NO CONTENT` response code, and then issue the command to the player. Due to the asynchronous nature of the issuance of the command, you should use the [Get Information About The User's Current Playback](https://devel