FansquareAPI reference
Open the app

Hashtag sets

Delete a hashtag set

DELETE/v1/hashtag-sets/{hashtag_set_id}

Deletes a hashtag set. Refused while a rotation draws from it. Confirm with the user first.

Required scopewrite:publications
Rate limit30 requests per minute
curl -X DELETE 'https://api.fansquare.so/v1/hashtag-sets/6cde5083-2767-4f94-a83d-766741432b2f' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "type": "https://developers.offmy.co/errors/validation_failed",
  "title": "Validation failed",
  "status": 400,
  "detail": "limit: Number must be less than or equal to 200",
  "instance": "/v1/hashtag-sets/12345",
  "errors": [
    {
      "keyword": "invalid_string",
      "instancePath": "/hashtag_set_id",
      "schemaPath": "#/hashtag_set_id/invalid_string",
      "params": {
        "issue": {
          "code": "invalid_string",
          "validation": "uuid",
          "path": [
            "hashtag_set_id"
          ],
          "message": "Invalid uuid"
        }
      },
      "message": "Invalid uuid",
      "path": "hashtag_set_id"
    }
  ]
}

Parameters

Headers

  • Fansquare-Versionstringrequired

    API version to pin. Accepts the mineral name or the release date of a version.

Path

  • hashtag_set_idstringrequired

    Fansquare hashtag set id (the id field of hashtag set items).

    format uuid

Response

No content

No response body

curl -X DELETE 'https://api.fansquare.so/v1/hashtag-sets/6cde5083-2767-4f94-a83d-766741432b2f' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "type": "https://developers.offmy.co/errors/validation_failed",
  "title": "Validation failed",
  "status": 400,
  "detail": "limit: Number must be less than or equal to 200",
  "instance": "/v1/hashtag-sets/12345",
  "errors": [
    {
      "keyword": "invalid_string",
      "instancePath": "/hashtag_set_id",
      "schemaPath": "#/hashtag_set_id/invalid_string",
      "params": {
        "issue": {
          "code": "invalid_string",
          "validation": "uuid",
          "path": [
            "hashtag_set_id"
          ],
          "message": "Invalid uuid"
        }
      },
      "message": "Invalid uuid",
      "path": "hashtag_set_id"
    }
  ]
}