POST ​/api​/v3​/tracks​/unfollow

Unfollows the track passed via the id parameter.

Request

Example Request

{
  "auth_token": "abc1245920feab98ca",
  "id": 1
}

Example Parameters

  • auth_token: The user's auth_token obtained by calling the auth API.

    • Required: yes
    • Type: string
    • Example: abc1245920feab98ca
  • id: The track ID to unfollow

    • Required: yes
    • Type: integer
    • Example: 1

Response

Example Response

{
  "id": 1,
  "status": "not following"
}

Response Parameters

  • id: The ID of the track unfollowed

    • Required: yes
    • Type: integer
    • Example: 1
  • status: Will return 'not following' on success.

    • Required: yes
    • Type: string
    • Example: not following

Response Codes

Successful Response Codes

  • 200: Successful response.

Failure Response Codes

  • 401: Unauthorized request. Indicates a missing or invalid auth_token.

  • 404: The track with the given ID was not found

  • 400: The track ID passed was invalid. It should be a postitive integer.