Class RemoveShowsUserRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.library.RemoveShowsUserRequest
-
public class RemoveShowsUserRequest extends Object
Remove User's Saved Shows requestRequired OAuth scopes
user-library-modifyResponse
On success, the HTTP status code in the response header is
200OK. On error, the header status code is an error code and the response body contains an error object. A403 Forbiddenwhile trying to add a show when you do not have the user's authorisation.
-
-
Constructor Summary
Constructors Constructor Description RemoveShowsUserRequest(ApiClient apiClient, List<String> ids)Remove User's Saved Shows request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Void>build()Build the request into an executable callRemoveShowsUserRequestmarket(String market)
-
-
-
Constructor Detail
-
RemoveShowsUserRequest
public RemoveShowsUserRequest(ApiClient apiClient, List<String> ids)
Remove User's Saved Shows request
- Parameters:
apiClient-The API client
ids-A JSON array of the Spotify IDs.
A maximum of 50 items can be specified in one request. Note: if theidsparameter is present in the query string, any IDs listed here in the body will be ignored.
-
-
Method Detail
-
market
public RemoveShowsUserRequest market(String market)
An ISO 3166-1 alpha-2 country code. If a country code is specified, only shows that are available in that market will be removed.
If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
Note: If neither market or user country are provided, the content is considered unavailable for the client.
Users can view the country that is associated with their account in the account settings.
-
-