curl--location--request PUT 'https://api.spotify.com/v1/me/player/pause' \
--header'Authorization;'
Response Response Example
200 - Example 1
{"error":{"message":"string","status":0}}
Request
Query Params
device_id
string
optional
The id of the device this command is targeting. If not supplied, the user's currently active device is the target.
Header Params
Authorization
string
required
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.
Responses
🟢200OK
application/json
Body
error
object(ErrorObject)
optional
message
string
optional
A short description of the cause of the error.
status
integer<int32>
optional
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