DELETE selfie/hashtags/:hashtag

From Social ID Developers
(Difference between revisions)
Jump to: navigation, search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[DELETE selfie/hashtags/:hashtag PT-BR]]
+
<span style="color: red; font-weight: bold">Deprecation notice:</span> this API is deprecated since July 19, 2018.
 +
 
 +
== Description ==
 +
 
 +
Removes a hashtag.
 +
 
 +
== Resource URL ==
 +
 
 +
  DELETE https://api.socialidnow.com/v1/marketing/selfie/hashtags/:hashtag
 +
 
 +
== Parameters ==
 +
 
 +
=== URL Parameters ===
 +
 
 +
{|
 +
! align="left" width="200px"  | hashtag
 +
| width="200px" | required
 +
| identifier of the hashtag to be removed.
 +
|}
 +
 
 +
== Authentication ==
 +
 
 +
This API requires Account authentication. See [[Authentication]].
 +
 
 +
== Response ==
 +
 
 +
=== Response Status ===
 +
 
 +
{|
 +
! align="left" width="200px" | ok (200)
 +
| The hashtag was removed successfully.
 +
|-
 +
! align="left" width="200px" | unauthorized (401)
 +
| The authentication is wrong. See [[Authentication]].
 +
|-
 +
! align="left" width="200px" | forbidden (403)
 +
| The Account has no permission to access this hashtag.
 +
|-
 +
! align="left" width="200px" | not_found (404)
 +
| The hashtag was not found.
 +
|-
 +
! align="left" width="200px" | internal_server_error (500)
 +
| An unknown error happened.
 +
|}
 +
 
 +
== Examples ==
 +
 
 +
=== Request ===
 +
 
 +
Removes the hashtag "fashion".
 +
 
 +
  curl -iX DELETE 'https://api.socialidnow.com/v1/marketing/selfie/hashtags/fashion' \
 +
        --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
 +
 
 +
=== Response ===
 +
 
 +
==== Response Headers ====
 +
 
 +
HTTP/1.1 200 Ok
 +
Status: 200

Latest revision as of 16:38, 30 December 2021

Deprecation notice: this API is deprecated since July 19, 2018.

Contents

Description

Removes a hashtag.

Resource URL

  DELETE https://api.socialidnow.com/v1/marketing/selfie/hashtags/:hashtag

Parameters

URL Parameters

hashtag required identifier of the hashtag to be removed.

Authentication

This API requires Account authentication. See Authentication.

Response

Response Status

ok (200) The hashtag was removed successfully.
unauthorized (401) The authentication is wrong. See Authentication.
forbidden (403) The Account has no permission to access this hashtag.
not_found (404) The hashtag was not found.
internal_server_error (500) An unknown error happened.

Examples

Request

Removes the hashtag "fashion".

 curl -iX DELETE 'https://api.socialidnow.com/v1/marketing/selfie/hashtags/fashion' \
        --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf

Response

Response Headers

HTTP/1.1 200 Ok
Status: 200
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox